| 1 |
LifeLines architecture compatibility library |
| 2 |
============================================ |
| 3 |
|
| 4 |
This library contains replacement functions for standard functions |
| 5 |
(POSIX, ANSI C, BSD, etc), to be used on platforms missing these |
| 6 |
functions. |
| 7 |
|
| 8 |
When using these functions, include <arch.h>. |
| 9 |
|
| 10 |
Currently, the following functions are implemented: |
| 11 |
|
| 12 |
int sleep(int) |
| 13 |
|
| 14 |
POSIX, implemented for Win32. |
| 15 |
|
| 16 |
int alphasort(const struct dirent **, const struct dirent **); |
| 17 |
int scandir(const char *, struct dirent ***, int (*)(const struct dirent *), |
| 18 |
int (*)(const struct dirent **, const struct dirent **)); |
| 19 |
|
| 20 |
BSD, implemented for Unix and Win32. |
| 21 |
|
| 22 |
int getopt(int argc, char **argv, char *optstring) |
| 23 |
|
| 24 |
POSIX, implemented for Win32. |
| 25 |
|