1
0
mirror of https://github.com/adtools/clib2.git synced 2025-12-08 14:59:05 +00:00

- Added usleep(), and created wrapper code that both sleep() and

usleep() can use.


git-svn-id: file:///Users/olsen/Code/migration-svn-zu-git/logical-line-staging/clib2/trunk@14736 87f5fb63-7c3d-0410-a384-fd976d0f7a62
This commit is contained in:
Olaf Barthel
2004-09-29 12:10:35 +00:00
parent a048eadf09
commit 53bb602493
9 changed files with 216 additions and 151 deletions

View File

@ -1,5 +1,5 @@
/*
* $Id: unistd.h,v 1.4 2004-08-07 09:15:33 obarthel Exp $
* $Id: unistd.h,v 1.5 2004-09-29 12:10:35 obarthel Exp $
*
* :ts=4
*
@ -87,6 +87,7 @@ extern int symlink(const char * actual_path, const char * symbolic_path);
extern int readlink(const char * path_name, char * buffer, int buffer_size);
extern int chdir(const char * path_name);
extern unsigned int sleep(unsigned int seconds);
extern void usleep(unsigned long microseconds);
extern int getopt(int argc, char * argv[], char *opts);
extern pid_t getpid(void);
extern char *realpath(const char *file_name, char *resolved_name);