ex31
This commit is contained in:
parent
eaf65f1d9d
commit
51bbb82cb6
@ -3,4 +3,12 @@ FROM ubuntu:xenial
|
|||||||
ENV DEBIAN_FRONTEND noninteractive
|
ENV DEBIAN_FRONTEND noninteractive
|
||||||
|
|
||||||
RUN apt-get update -yq
|
RUN apt-get update -yq
|
||||||
RUN apt-get install -yq build-essential git man curl file sudo vim-tiny
|
RUN apt-get install -yq \
|
||||||
|
build-essential \
|
||||||
|
curl \
|
||||||
|
file \
|
||||||
|
gdb \
|
||||||
|
git \
|
||||||
|
man \
|
||||||
|
sudo \
|
||||||
|
vim-tiny
|
||||||
|
12
lcthw-remnants-2/ex31.c
Normal file
12
lcthw-remnants-2/ex31.c
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
#include <unistd.h>
|
||||||
|
|
||||||
|
int main(int argc, char *argv[])
|
||||||
|
{
|
||||||
|
int i = 0;
|
||||||
|
|
||||||
|
while(i < 100) {
|
||||||
|
usleep(3000);
|
||||||
|
}
|
||||||
|
|
||||||
|
return 0;
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user