This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: reentrant functions


Corrected, missed the gammas, although they are already exported.  Interestingly, libc doesn't seem to have a gamma_r or gammaf_r in the documentation, although an lgamma_r and an lgammaf_r; I am assuming a documentation bug.

Intersection of (newlib _r listing from CGF) and (the union of the opengroup and libc _r functions) (remove leading _):

asctime_r
ctime_r
gamma_r
gammaf_r
gmtime_r
hcreate_r
hdestroy_r
hsearch_r
jrand48_r
lcong48_r
lrand48_r
lgamma_r
lgammaf_r
localtime_r
mrand48_r
nrand48_r
rand_r
seed48_r
srand48_r
strerror_r
strtok_r
tmpnam_r

Above intersection not currently exported from cygwin.din:
jrand48_r
lcong48_r
lrand48_r
localtime_r
mrand48_r
nrand48_r
rand_r
seed48_r
srand48_r
tmpnam_r

Above intersection currently exported from cygwin.din:
asctime_r
ctime_r
gamma_r
gammaf_r
gmtime_r
hcreate_r
hdestroy_r
hsearch_r
lgamma_r
lgammaf_r
strerror_r
strtok_r

All System Interfaces from The Single Unix Specification v3 ending in "_r":
http://www.opengroup.org/onlinepubs/007904975/toc.htm

asctime_r
ctime_r
getgrgid_r
getgrnam_r
getlogin_r
getpwnam_r
getpwuid_r
gmtime_r
localtime_r
rand_r
readdir_r
strerror_r
strtok_r
ttyname_r

>This reference would be adequate in determining what to include but,
>if in doubt about something that seems like a useful function, then
>double checking with linux should be adequate.

All functions from libc ending in _r:
http://www.gnu.org/software/libc/manual/html_node/Function-Index.html#Function%20Index

asctime_r
crypt_r
ctime_r
drand48_r
ecvt_r
encrypt_r
erand48_r
fcvt_r
fgetgrent_r
fgetpwent_r
getdate_r
getgrent_r
getgrgid_r
getgrnam_r
gethostbyaddr_r
gethostbyname2_r
gethostbyname_r
getmntent_r
getnetgrent_r
getpwent_r
getpwnam_r
getpwuid_r
getutent_r
getutid_r
getutline_r
gmtime_r
hcreate_r
hdestroy_r
hsearch_r
initstate_r
jrand48_r
lcong48_r
lgamma_r
lgammaf_r
lgammal_r
localtime_r
lrand48_r
mrand48_r
nrand48_r
ptsname_r
qecvt_r
qfcvt_r
rand_r
random_r
readdir64_r
readdir_r
seed48_r
setkey_r
setstate_r
srand48_r
srandom_r
strerror_r
strtok_r
tmpnam_r
ttyname_r

List from CGF of newlib _r functions:

_ieee754_gamma_r
_ieee754_gammaf_r
_ieee754_lgamma_r
_ieee754_lgammaf_r
_sseek64_r
_strtok_r
_svfscanf_r
_swrite64_r
asctime_r
asprintf_r
atoi_r
atol_r
atoll_r
cleanup_r
close_r
ctime_r
drand48_r
dtoa_r
erand48_r
execve_r
fcloseall_r
fcntl_r
fdopen64_r
fdopen_r
fgetpos64_r
fgetpos_r
findenv_r
fopen64_r
fopen_r
fork_r
freopen64_r
freopen_r
fscanf_r
fseek_r
fseeko64_r
fseeko_r
fsetpos64_r
fsetpos_r
fstat64_r
fstat_r
ftell_r
ftello64_r
ftello_r
gamma_r
gammaf_r
getchar_r
getchar_unlocked_r
getenv_r
getpid_r
gets_r
gettimeofday_r
gmtime_r
hcreate_r
hdestroy_r
hsearch_r
iprintf_r
jrand48_r
kill_r
l64a_r
lcong48_r
ldtoa_r
lgamma_r
lgammaf_r
link_r
localeconv_r
localtime_r
lrand48_r
lseek64_r
lseek_r
mblen_r
mbrtowc_r
mbsrtowcs_r
mbstowcs_r
mbtowc_r
mkstemp_r
mktemp_r
mktm_r
mrand48_r
nrand48_r
open64_r
open_r
perror_r
printf_r
putchar_r
putchar_unlocked_r
putenv_r
puts_r
raise_r
rand_r
read_r
remove_r
rename_r
rewind_r
scanf_r
seed48_r
setenv_r
setlocale_r
snprintf_r
sprintf_r
srand48_r
sscanf_r
stat_r
strdup_r
strerror_r
strndup_r
strtod_r
strtok_r
strtol_r
strtoll_r
strtoul_r
strtoull_r
system_r
tempnam_r
times_r
tmpfile64_r
tmpfile_r
tmpnam_r
towctrans_r
tzset_r
unlink_r
unsetenv_r
vasprintf_r
vfiprintf_r
vfprintf_r
vfscanf_r
vprintf_r
vscanf_r
vsnprintf_r
vsprintf_r
vsscanf_r
wait_r
wcrtomb_r
wcsrtombs_r
wcstombs_r
wctomb_r
wctrans_r
wctype_r
write_r

-Richard Campbell.

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]