Skip to content

Commit 15cf48e

Browse files
ZERICO2005mateoconlechuga
authored andcommitted
add sleep/usleep/useconds_t to unistd.h
1 parent 743873c commit 15cf48e

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

src/libc/include/unistd.h

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,13 @@
33

44
#include <cdefs.h>
55

6+
/*
7+
* unsigned int sleep(unsigned int seconds);
8+
* typedef unsigned int useconds_t;
9+
* int usleep(useconds_t usec);
10+
*/
11+
#include <sys/timers.h>
12+
613
#define STDIN_FILENO 0
714
#define STDOUT_FILENO 1
815
#define STDERR_FILENO 2

0 commit comments

Comments
 (0)