pwd_grp.c: unlocked functions [PATCH]

Shaun Jackman sjackman at gmail.com
Fri Oct 7 21:19:49 UTC 2005


2005/10/7, Rob Landley <rob at landley.net>:
> We should be consistent.  Either tell me to remove all the _unlocked
> occurrences or none of them.

man getc_unlocked

The four functions getc_unlocked(), getchar_unlocked(),
putc_unlocked(), putchar_unlocked() are in POSIX.1. The nonstandard
*_unlocked() variants occur on a few Unix systems, and are available
in recent glibc. They should probably not be used.

I removed only the uses of the *non-standard* functions.

Cheers,
Shaun



More information about the busybox mailing list