Plan 9 from Bell Labs’s /usr/web/sources/patch/applied/ape-reentrant/readme

Copyright © 2021 Plan 9 Foundation.
Distributed under the MIT License.
Download the Plan 9 distribution.


warning: new file /sys/src/ape/lib/bsd/sethostent.c not on sources

added sethostent() and a few xxx_r() functions to APE.

I added:
	ctime, localtime, gmtime, asctime, strtok, strerror,
	getlogin, ctermid, tmpnam, 

Solaris 8 also includes these...

	gethostbyname, gethostbyaddr, getservbyname, getservbyport, 
	getprotobyname, getnetbyname, getnetbyaddr, getrpcbyname, 
	getrpcbynumber, getrpcent, rand, readdir, getpwent, 
	getpwnam, getpwuid, getspent, fgetspent, getspnam, getgrnam, 
	getgrgid, getnetgrent, getrpcbyname, tempnam, fgetpwent, 
	fgetgrent, ecvt, gcvt, getservent, gethostent, getgrent, fcvt 

however I don't need them. 

I was going to add readdir_r() but it is "considered harmful"
[http://womble.decadentplace.org.uk/readdir_r-advisory.html]
so it seems chirlish to implement it.

All the reentrant function prototypes are under the control of
_REENTRANT_SOURCE in the hearder files.

-Steve

Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to webmaster@9p.io.