mirror of
https://github.com/adtools/clib2.git
synced 2025-12-08 14:59:05 +00:00
usleep() now correctly returns 0, with the function prototype to match
This addresses issue #4 by· capehill opened on Jul 30, 2017
This commit is contained in:
@@ -117,7 +117,7 @@ extern int readlink(const char * path_name, char * buffer, int buffer_size);
|
||||
extern int chdir(const char * path_name);
|
||||
extern int lockf(int file_descriptor, int function, off_t size);
|
||||
extern unsigned int sleep(unsigned int seconds);
|
||||
extern void usleep(unsigned long microseconds);
|
||||
extern int usleep(unsigned long microseconds);
|
||||
extern int getopt(int argc, char * const argv[], const char *opts);
|
||||
extern pid_t getpid(void);
|
||||
extern char *realpath(const char *file_name, char *resolved_name);
|
||||
|
||||
Reference in New Issue
Block a user