summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdio/fclose.c
diff options
context:
space:
mode:
authorjb <jb@FreeBSD.org>1998-04-11 07:33:46 +0000
committerjb <jb@FreeBSD.org>1998-04-11 07:33:46 +0000
commit37905ca3346db0b12db77b4f125b8e230f82c22e (patch)
tree37fc8cff19635a617fe503282671b8c9cf4dff5c /lib/libc/stdio/fclose.c
parent1f2643f52063cd57942ba1831d284a46512f6233 (diff)
downloadFreeBSD-src-37905ca3346db0b12db77b4f125b8e230f82c22e.zip
FreeBSD-src-37905ca3346db0b12db77b4f125b8e230f82c22e.tar.gz
Add *_unlocked() macros according to POSIX. In the _THREAD_SAFE case,
test for __isthreaded before calling the lock/unlock functions to try to save some performance. The _THREAD_SAFE case should become the default, but since it tests for a global variable in libc, people won't be able to build -current on pre-3.0 systems unless the default leaves it out. Such is life.
Diffstat (limited to 'lib/libc/stdio/fclose.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud