Undecided Interfaces
Here're my comments on glibc functions.
If I don't mention add/include or drop, it's up to you to decide
whether it should be added.
Some functions are from Sun RPC - I don't know if we decided already on adding
Sun RPC or not. Only add those functions if we add Sun RPC.
These are part of <argp.h> which is a GNU extension:
_argp_unlock_xxx
argp_err_exit_status
argp_error
argp_failure
argp_help
argp_parse
argp_program_bug_address
argp_program_version
argp_program_version_hookfputwc_unlocked
argp_state_help
argp_usage
<obstack.h>: Is this any standard?
_obstack
_obstack_allocated_p
_obstack_begin_1
_obstack_free
_obstack_memory_used
_authenticate: From SUN RPC, include
_flushlbf: <stdio_ext.h>, comes from Solaris.
_mcleanup
_mcount
_nl_current_LC_COLLATE: Drop
_nl_current_LC_CTYPE: Drop
_nl_domain_bindings: Drop
_null_auth: From Sun RPC, include
_r_debug: <link.h>, I don't think it makes sense to include it.
_res: Internal of resolver, drop since we drop resolver for now.
_res_hconf: Internal of resolver, drop since we drop resolver for now.
_seterr_reply: Sun RPC, include.
_sys_siglist: Mangle for sys_siglist, include.
addmntent: From SunOS 4?
addseverity: <fmtmsgh.h>, System V.
adjtime: <sys/time.h>, BSD, include.
adjtimex: <sys/timex.h>, Linux specific.
alphasort: BSD 4.3, include
alphasort64: GNU extension, <dirent.h>, include
asctime_r: Posix/Unix98, include.
atoll: Part of current Austin draft, include.
bind_textdomain_codeset: GNU exension, include.
canonicalize_file_name: GNU extension, include.
cbc_crypt: Sun RPC, include.
cfmakeraw: BSD extension.
cfree: Drop, it's an alias for free.
chflags: Drop, not implemented at all.
clearenv: Drop.
clearerr_unlocked: Include.
confstr: Posix2, include
crypt_r: GNU extension, include.
ctime_r: Posix/Unix98: Include
daemon: glibc uses: __USE_BSD || (defined __USE_XOPEN && !defined __USE_UNIX98)
dcgettext: GNU extension, add.
dcngettext: GNU extension, add.
dgettext: GNU extension, add.
dlvsym: GNU extension to dlsym, add.
dngettext: GNU extension, add.
dysize: Drop.
endusershell: glibc uses: __USE_BSD || (defined __USE_XOPEN && !defined __USE_UNIX98)
envz_add: GNU extension, add.
envz_entry: GNU extension, add.
envz_get: GNU extension, add.
envz_merge: GNU extension, add.
envz_remove: GNU extension, add.
envz_strip: GNU extension, add.
err: 4.4 BSD function, include.
errx: 4.4 BSD function, include.
ether_aton_r: If we include ether_aton, let's include this one also.
euidaccess: GNU extension, include
fattach: not implemented, drop.
fchflags: not implemented, drop.
fcloseall: GNU extension, add.
fedisableexcept: GNU extension, add.
feenableexcept: GNU extension, add.
fegetexcept: GNU extension, add.
feof_unlocked: GNU extension, add.
ferror_unlocked: GNU extension, add.
fexecve: not implemented, drop.
fgetc_unlocked: GNU extension, add.
fgetgrent_r: Drop.
fgetpos64: From LFS, include.
fgetpwent: Include.
fgetpwent_r: Drop.
fgets_unlocked: : GNU extension, add.
fgetspent_r: Drop
fgetws_unlocked: GNU extension, add.
fileno_unlocked: GNU extension, add.
flockfile: Posix.1:1996, add.
fmemopen: GNU extension, add.
fmtmsg: Unix98, include.
fopencookie: GNU extension, add.
fputc_unlocked: GNU extension, add.
fputs_unlocked: GNU extension, add.
fputws_unlocked: GNU extension, add.
fread_unlocked: GNU extension, add.
fsetpos64: From LFS, include.
fstatvfs: Unix98, include.
fstatvfs64: Include.
fwrite_unlocked: Include.
gai_strerror: Posix.1g, include
get_avphys_pages: GNU extension, drop.
get_current_dir_name: GNU extension, add.
get_myaddress: Sun RPC, include.
get_nprocs: Drop
get_nprocs_conf: Drop.
get_phys_pages: Drop
getaddrinfo: Part of Austin Draft, add.
getaliasbyname_r: If we add getaliasbyname, add this also.
getaliasent_r: If we add getaliasent, add this also.
getcontext: Add, from System V ABI.
getdate_r: GNU extension, add.
getdelim: GNU extension, add.
getdents64: Add.
getdirentries: GNU extension, add.
getdirentries64: GNU extension, add.
getdomainname: glibc has __USE_BSD || (defined __USE_XOPEN && !defined __USE_UNIX98)
getdtablesize: Sun RPC
getfsfile: BSD, <fstab.h>.
getfsspec: BSD
getgrent_r: Drop.
gethostbyaddr_r: Add
gethostbyname2: IPv6 Basic API, add.
gethostbyname2_r: IPv6 Basic API, add.
gethostbyname_r: Add.
gethostent_r: Add.
getline: GNU extension, add
getloadavg: BSD, add.
getlogin_r: Unix98, include.
getmntent_r: Include if we include getmntent.
getnameinfo: Posix, include.
getnetbyaddr_r: Include.
getnetbyname_r: Include.
getnetent_r: Include.
getnetgrent_r: Include.
getnetname: Include.
getopt_long_only: Add.
getpagesize: Drop.
getpass: Dropped for XOPEN2K, drop it also.
getprotobyname_r: Include.
getprotobynumber_r: Include.
getprotoent_r: Include.
getpt: GNU extension, include.
getpublickey: Sun RPC.
getpw: Drop.
getpwent_r: Include.
getresgid: Include.
getresuid: Include.
getrlimit64: Include.
getrpcbyname_r: Sun RPC.
getrpcbynumber_r: Sun RPC.
getrpcent_r: Sun RPC.
getsecretkey: Sun RPC.
getservbyname_r: Include.
getservbyport_r: Include.
getservent_r: Include.
getspent_r: Drop.
getspnam_r: Drop.
getttynam: BSD, include.
getusershell: defined __USE_BSD || (defined __USE_XOPEN && !defined __USE_UNIX98)
getutent_r: Drop.
getutid: Include.
getutid_r: Drop.
getutline: Include.
getutline_r: Drop.
getutmp: Drop
getutmpx: Drop.
getutxid: Include (see current Austin Draft).
getutxline Include
getwc_unlocked: GNU extension, include.
getwchar: Unix98, include.
getwchar_unlocked: GNU extension, include.
gmtime_r: Posix, include.
gnu_get_libc_release: Drop, those are irrelevant for LSB.
gnu_get_libc_version: Drop, those are irrelevant for LSB.
group_member: GNU extension, add.
gsignal: Drop.
h_errlist: Drop.
h_errno: Include
h_nerr: Drop.
hasmntopt: Include.
hcreate_r: GNU extension, include.
hdestroy_r: GNU extension, include.
herror: GNU extension, include.
host2netname: Sun RPC
hsearch_r: GNU extension, include.
hstrerror: GNU extension, include.
iconv_close: See Austin Draft, include.
iconv_open: See Austin Draft, include.
imaxabs: ISO C99, include.
imaxdiv: ISO C99, include.
initstate_r: Include.
innetgr: Drop.
isfdtype: Drop.
isinff: Drop.
lckpwdf: Drop.
lfind Include.
llseek: Drop, lseek64 should be used instead.
localtime_r: Include.
memfrob: Drop.
memrchr: Drop.
mincore: Include.
mkdtemp: Drop.
mkstemp64: Add.
mremap: Add.
netname2host: SunRPC
netname2user: SunRPC
nftw64: Add.
ngettext: Add.
on_exit: Drop.
open_memstream: Include.
parse_printf_format: Drop.
passwd2des: Drop.
personality: Drop.
pivot_root: Drop.
pread64:
printf_size: Drop.
printf_size_info: Drop.
program_invocation_name: Drop.
program_invocation_short_name: Drop.
ptmalloc_init: Drop.
ptrace: Include.
ptsname_r: Include.
putgrent: Include.
putpwent: Include.
putspent: Include.
pututline: Include.
pututxline: Include.
putwc_unlocked: GNU extension, include.
putwchar_unlocked: GNU extension, include.
pvalloc: Include.
pwrite64: Include.
rand_r: Include.
random_r: Include.
rawmemchr: Drop
readdir64_r: Include.
readdir_r: Include.
register_printf_function: Drop.
revoke: Not implemented, drop.
rpmatch: Drop.
sendfile: Include.
sgetspent: Drop.
sgetspent_r: Drop.
srandom_r: Include.
sstk: Not implemented, drop.
stat: Include.
statfs64: Include.
statvfs64: Include.
step: Drop.
strchrnul: Drop.
tfind: Include.
timegm: Include.
timelocal: Include.
tr_break: Drop.
tsearch: Include.
ttyslot: Drop.
twalk: Include.
ulckpwdf: Drop
unsetenv: Include, see austin draft.
updwtmp: Include.
updwtmpx: Include.
ustat: Include.
utimes: Include.
utmpname: Include.
utmpxname: Include.
verr: 4.4 BSD function, include.
verrx: 4.4 BSD function, include.
versionsort: Include.
versionsort64: Include
vfscanf: Include.
vhangup: Drop
vlimit: Drop.
vscanf: Include.
vsscanf: Include.
vsyslog: Include.
vtimes: Include.
warn: 4.4 BSD function, include.
warnx 4.4 BSD function, include.
wcschrnul: Drop.
wmempcpy: Drop.
wprintf: ISO C99, Include.
wscanf: ISO C99, Include.
Andreas
--
Andreas Jaeger
SuSE Labs aj@suse.de
private aj@arthur.inka.de
http://www.suse.de/~aj
Reply to: