summaryrefslogtreecommitdiffstats
path: root/usr.bin/gcore
diff options
context:
space:
mode:
authortjr <tjr@FreeBSD.org>2004-03-17 01:43:08 +0000
committertjr <tjr@FreeBSD.org>2004-03-17 01:43:08 +0000
commitb4d98c68558acbe9782e24963999f922d52ccf28 (patch)
treea146c0d7f2efde65782926d4c69016d3b4715398 /usr.bin/gcore
parent131892ca17e9e6a23bd98f9bef05d035b36d2790 (diff)
downloadFreeBSD-src-b4d98c68558acbe9782e24963999f922d52ccf28.zip
FreeBSD-src-b4d98c68558acbe9782e24963999f922d52ccf28.tar.gz
Re-add macro versions of getc(), getchar(), putc(), putchar(), feof(),
ferror(), fileno() and clearerr(), using the value of __isthreaded to decide between the fast inline single-threaded code and the more general function equivalent. This gives most of the performance benefits of the old unsafe macros while preserving thread safety.
Diffstat (limited to 'usr.bin/gcore')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud