Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 5 May 2003 18:20:12 -0500
From:      "Jacques A. Vidrine" <nectar@FreeBSD.org>
To:        Daniel Eischen <eischen@pcnet1.pcnet.com>
Cc:        freebsd-arch@freebsd.org
Subject:   Re: `Hiding' libc symbols
Message-ID:  <20030505232012.GC21953@madman.celabo.org>
In-Reply-To: <Pine.GSO.4.10.10305051855570.10283-100000@pcnet1.pcnet.com>
References:  <20030505225021.GA43345@nagual.pp.ru> <Pine.GSO.4.10.10305051855570.10283-100000@pcnet1.pcnet.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi, Daniel!

On Mon, May 05, 2003 at 07:06:45PM -0400, Daniel Eischen wrote:
> I thought Jacques found lots of ports that replaced standard
> functions...

I did a survey of 6,817 packages.  Over 700 of them defined symbols
that are also defined in libc.  The symbols which `clashed' are below
for the curious.  (I only examined symbols in the text segment.)

Cheers,
-- 
Jacques Vidrine   . NTT/Verio SME      . FreeBSD UNIX       . Heimdal
nectar@celabo.org . jvidrine@verio.net . nectar@freebsd.org . nectar@kth.se

abort
abs
accept
access
acl_init
adjtime
alarm
alloca
asprintf
atexit
atoi
atoll
basename
bcmp
bcopy
bind
bindresvport
brk
bsearch
bzero
calloc
cfgetispeed
cfgetospeed
cfmakeraw
cfsetispeed
cfsetospeed
cfsetspeed
chmod
chown
chroot
close
closelog
connect
creat
daemon
dbm_close
dbm_delete
dbm_error
dbm_fetch
dbm_firstkey
dbm_nextkey
dbm_open
dbm_store
dbopen
dirname
dladdr
dn_comp
dn_expand
drand48
dup
eaccess
encrypt
endgrent
endhostent
endnetent
endnetgrent
endprotoent
endpwent
endservent
endttyent
err
err_set_exit
errx
execl
execle
execlp
execv
execvp
exit
f_prealloc
fabs
fchmod
fchown
fclose
fcntl
fdopen
fflush
ffs
fgets
fhstat
fileno
fmtmsg
fnmatch
fopen
fork
fprintf
free
freeaddrinfo
freehostent
fsync
ftruncate
getaddrinfo
getc
getchar
getcontext
getegid
getenv
geteuid
getgid
getgrent
getgrgid
getgrnam
getgrouplist
gethostbyaddr
gethostbyaddr_r
gethostbyname
gethostbyname2
gethostent
getipnodebyaddr
getipnodebyname
getmode
getnameinfo
getnetbyaddr
getnetbyname
getnetent
getnetgrent
getopt
getopt_long
getpass
getpeername
getprogname
getprotobyname
getprotobynumber
getprotoent
getpublickey
getpwent
getpwnam
getpwuid
getresgid
getresuid
gets
getservbyname
getservbyport
getservent
getsockname
getsubopt
getttyent
getuid
glob
globfree
gmtime_r
hash_create
hash_destroy
hash_search
hash_stats
hash_traverse
hcreate
hdestroy
herror
hesiod_end
hesiod_free_list
hesiod_init
hesiod_resolve
hesiod_to_bind
hsearch
hstrerror
index
inet_addr
inet_aton
inet_nsap_addr
inet_nsap_ntoa
inet_ntoa
inet_ntop
inet_pton
initstate
innetgr
insque
ioctl
isatty
isinf
isnan
isnumber
iswalnum
iswprint
iswspace
kill
lchown
link
localeconv
localtime_r
lseek
malloc
mbrlen
mbrtowc
mbsinit
mbsrtowcs
memchr
memcmp
memcpy
memset
mkdir
mkdtemp
mknod
mkstemp
mktemp
mktime
mmap
mpool_close
mpool_filter
mpool_get
mpool_new
mpool_open
mpool_put
mpool_sync
munmap
nlist
open
openlog
paddr
pause
pclose
perror
pipe
poll
popen
pread
printf
pthread_cond_broadcast
pthread_cond_destroy
pthread_cond_init
pthread_cond_signal
pthread_cond_wait
pthread_getspecific
pthread_key_create
pthread_key_delete
pthread_mutex_destroy
pthread_mutex_init
pthread_mutex_lock
pthread_mutex_trylock
pthread_mutex_unlock
pthread_mutexattr_destroy
pthread_mutexattr_init
pthread_mutexattr_settype
pthread_once
pthread_rwlock_destroy
pthread_rwlock_init
pthread_rwlock_rdlock
pthread_rwlock_tryrdlock
pthread_rwlock_trywrlock
pthread_rwlock_unlock
pthread_rwlock_wrlock
pthread_self
pthread_setspecific
pthread_sigmask
putchar
putenv
puts
pwrite
qsort
raise
rand
random
read
readdir
readpassphrase
readv
realloc
reallocf
recv
recvfrom
recvmsg
regcomp
regerror
regexec
regfree
remove
remque
rename
res_init
res_mkquery
res_query
res_querydomain
res_search
res_send
res_send_setqhook
res_send_setrhook
rindex
rmdir
rresvport
sbrk
select
sem_wait
send
sendfile
sendmsg
sendto
setenv
setgrent
setgroupent
sethostent
setjmp
setkey
setmode
setnetent
setnetgrent
setpassent
setproctitle
setprogname
setprotoent
setpwent
setservent
setsid
setstate
setttyent
shutdown
sigaction
sigaddset
sigblock
sigdelset
sigemptyset
sigfillset
sigismember
signal
sigpause
sigprocmask
sigsetmask
sigvec
sigwait
sl_add
sl_find
sl_free
sl_init
sleep
snprintf
socket
sprintf
srandom
stat
stpcpy
strcasecmp
strcasestr
strcat
strchr
strcmp
strcpy
strdup
strerror
strlcat
strlcpy
strncasecmp
strncmp
strncpy
strnstr
strsep
strsignal
strstr
strtod
strtok
strtol
strtoul
strvis
strvisx
symlink
system
tcflow
tcflush
tcgetattr
tcgetpgrp
tcsendbreak
tcsetattr
tcsetpgrp
tdelete
time
timegm
timelocal
tolower
toupper
towlower
towupper
truncate
tsearch
unlink
unsetenv
usleep
uuid_compare
uuid_create
uuid_create_nil
uuid_equal
uuid_from_string
uuid_hash
uuid_is_nil
uuid_to_string
valloc
vasprintf
verr
verrx
vfprintf
vis
vsnprintf
vsprintf
vwarn
vwarnx
wait
warn
warnx
wcrtomb
wcscpy
wcsrtombs
wcstok
wcswidth
wcwidth
wordfree
wprintf
write
writev
xdr_int64_t
xdr_u_int64_t



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030505232012.GC21953>