pwd_grp.c: unlocked functions [PATCH]
Shaun Jackman
sjackman at gmail.com
Fri Oct 7 04:13:38 UTC 2005
2005/10/6, Rob Landley <rob at landley.net>:
> On Thursday 06 October 2005 16:56, Shaun Jackman wrote:
> > This patch is required for newlib, which does not implement the glibc
> > extensions fgets_unlocked and feof_unlocked.
>
> Um... Why would anyone ever _want_ to use the _unlocked versions? (The man
> page doesn't say...)
>
> Rob
If the application provides its own locking of the FILE* structure,
then it may use the _unlocked versions and avoid the additional
locking overhead.
Cheers,
Shaun
More information about the busybox
mailing list