This is the mail archive of the cygwin-developers@cygwin.com 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]

Duplicates between cygwin1.dll and libc.a.


The following functions (at a minimum):

`malloc':
`free':
`realloc':
`strerror':
`setenv':
`unsetenv':
`getenv':

Are defined in both the libc source and the cygwin source. Which one is
exposed for user programs to link against, and is the second one 
A) used by cygwin internally
B) not used in the cygwin environment at all
?

The libc code all seem to be the same - they call the _foo_r version of
the same function, and there are no obvious duplicates there. I'm still
working on profiling, for those who are interested.

Rob



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