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

Copyright © 2009 Alcatel-Lucent.
Distributed under the Lucent Public License version 1.02.
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 © 2009 Alcatel-Lucent. All Rights Reserved.
Comments to webmaster@plan9.bell-labs.com.