Skip to content

jwerle/usleep.h

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

usleep.h

usleep implementation using poll() or select()

install

$ clib install jwerle/usleep.h

usage

You need to define the constant USE_POLL or USE_SELECT in order for usleep to determine which implementation to use. This can be done in your source code or at compile time with the -D flag.

$ CC program.c -DUSE_POLL=1 -std=c99 -o progam

example

usleep(10000);

license

MIT

About

usleep implementation using poll() or select()

Resources

License

Stars

Watchers

Forks

Packages

No packages published