newlib-cygwin/winsup/cygwin/cygwin.din

1326 lines
19 KiB
Plaintext
Raw Normal View History

2000-02-18 03:38:33 +08:00
LIBRARY "cygwin1.dll" BASE=0x61000000
EXPORTS
__assert
__eprintf
__errno
__fpclassifyd
__fpclassifyf
2000-02-18 03:38:33 +08:00
__infinity
__main
__signbitd
__signbitf
__signgam
2000-02-18 03:38:33 +08:00
__srget
__swbuf
__argv DATA
__argc DATA
__progname DATA
2001-03-05 14:28:25 +08:00
_check_for_executable DATA
* include/cygwin/version.h: Bump DLL minor version number to 5 due to all of the changes below. Redefine process structure to avoid a fixed size table. Redefine pinfo/_pinfo classes. Use these throughout. * dcrt0.cc (dll_crt0_1): Accomodate set_myself argument change. (__api_fatal): Accomodate _pinfo::record_death argument change. * exceptions.cc (really_exit): Ditto. (sig_handle_tty_stop): Use pinfo constructor to access process info. (events_init): Don't create pinfo_mutex since it is no longer required. * external.cc (fillout_pinfo): Use winpids class to iterate over all system pids. (cygwin_internal): lock_pinfo_for_update and unlock_pinfo are now noops. * fhandler_termios.cc (fhandler_termios::set_ctty): Use pinfo constructor to access process info. * fork.cc (fork): Reorganize to initialize child info after the child has started since that is when we know the child's winpid, which is necessary to allocate the pinfo shared memory. * mmap.cc (recreate_mmaps_after_fork): Change arg type to _pinfo. * pinfo.cc: Rename pinfo methods to _pinfo throughout. Eliminate pinfo_list stuff. (set_myself): Accept a pid argument now. Call pinfo initializer to initialize myself. Detect when this is an "execed" process and create an "indirect" pid block. (pinfo_init): Accomodate set_myself arg change. (procinfo): Remove. (pinfo::lock_pinfo): Remove. (pinfo::unlock_pinfo): Remove. (pinfo::init): New method. Allocates shared memory space for process pinfo structure. (pinfo::record_death): Don't call locking functions. (cygwin_winpid_to_pid): Simplify by using new pinfo constructor. (EnumProcessesW95): New function for iterating over processes on Windows 95. (winpids::winpids): New constructor for winpids class. Sets up a list of process ids. (enum_init): Initialize w95/wnt pid enumerators. * shared.cc (shared-info::initialize): Remove pid initialization. * shared.h: Move pinfo stuff into pinfo.h. (class shared_info): Remove pinfo_list element. * signal.cc (kill_worker): Use pinfo constructor to access process info. (kill_pgrp): Ditto. Use winpids methods to access list of processes. * sigproc.cc: Throughout, modify to use _pinfo where appropriate. (proc_exists (pid_t)): New function. Determines if a process exists based on the pid. (proc_exists (_pinfo *p): Use new proc_exists function above. (proc_subproc): Copy pinfo stuff around rather than _pinfo pointers. Try to be careful about releasing shared memory when we don't need it anymore. Remove pinfo locks. (remove_zombies): Remove pinfo memory when zombie is going away. * sigproc.h: Reflect _pinfo/pinfo changes in sigproc.cc. * spawn.cc (spawn_guts): Eliminate pinfo *child argument. Reorganize to only initialize child pinfo after process has been started and we know the windows pid. (_spawnve): Reflect spawn_guts changes. * syscalls.cc (setpgid): Use pinfo constructor to access process info. (getpgid): Ditto. (internal_getlogin): Use _pinfo. * winsup.h: Eliminate pinfo_mutex. Eliminate spawn_guts declaration since it is static now. Reflect set_myself argument change. * include/sys/cygwin.h: Add some PID_* enums to accomodate new pinfo stuff. * include/cygwin/version.h: Update minor version for cygdrive changes below.
2000-07-30 00:24:59 +08:00
; __vc__10pinfo_listi
2000-02-18 03:38:33 +08:00
@ALLOCA@
cygwin_stackdump
abort
_abort = abort
abs
_abs = abs
access
_access = access
acos
_acos = acos
acosf
_acosf = acosf
acosh
_acosh = acosh
acoshf
_acoshf = acoshf
alarm
_alarm = alarm
alphasort
_alphasort = alphasort
asctime
_asctime = asctime
asctime_r
_asctime_r = asctime_r
2000-02-18 03:38:33 +08:00
asin
_asin = asin
asinf
_asinf = asinf
asinh
_asinh = asinh
asinhf
_asinhf = asinhf
asprintf
_asprintf = asprintf
_asprintf_r
asprintf_r = _asprintf_r
2000-02-18 03:38:33 +08:00
atan
_atan = atan
atan2
_atan2 = atan2
atan2f
_atan2f = atan2f
atanf
_atanf = atanf
atanh
_atanh = atanh
atanhf
_atanhf = atanhf
atexit
_atexit = atexit
atof
_atof = atof
atoff
_atoff = atoff
atoi
_atoi = atoi
atol
_atol = atol
bcmp
_bcmp = bcmp
bcopy
_bcopy = bcopy
bsearch
_bsearch = bsearch
bzero
_bzero = bzero
cabs
_cabs = cabs
cabsf
_cabsf = cabsf
calloc
_calloc = calloc
2000-02-18 03:38:33 +08:00
cbrt
_cbrt = cbrt
cbrtf
_cbrtf = cbrtf
ceil
_ceil = ceil
ceilf
_ceilf = ceilf
cfgetospeed
cfgetispeed
cfsetospeed
cfsetispeed
chdir
_chdir = chdir
chmod
_chmod = chmod
chown
_chown = chown
chown32
2000-02-18 03:38:33 +08:00
cleanup_glue
clearerr
_clearerr = clearerr
clock
_clock = clock
close
_close = close
2000-02-18 03:38:33 +08:00
closedir
_closedir = closedir
copysign
_copysign = copysign
copysignf
_copysignf = copysignf
cos
_cos = cos
cosf
_cosf = cosf
cosh
_cosh = cosh
coshf
_coshf = coshf
creat
_creat = creat
ctime
_ctime = ctime
ctime_r
_ctime_r = ctime_r
2000-02-18 03:38:33 +08:00
cwait
_cwait = cwait
difftime
_difftime = difftime
div
_div = div
dirfd
_dirfd = dirfd
_dll_crt0@0
2000-02-18 03:38:33 +08:00
dll_crt0__FP11per_process
cygwin_dll_init
2000-02-18 03:38:33 +08:00
dll_dllcrt0
dll_noncygwin_dllcrt0
cygwin_detach_dll
cygwin32_detach_dll = cygwin_detach_dll
@DEF_DLL_ENTRY@
drem
_drem = drem
dremf
_dremf = dremf
dup
_dup = dup
dup2
_dup2 = dup2
ecvt
_ecvt = ecvt
ecvtbuf
_ecvtbuf = ecvtbuf
ecvtf
_ecvtf = ecvtf
endgrent
_endgrent = endgrent
endutent
_endutent = endutent
2000-02-18 03:38:33 +08:00
erf
_erf = erf
erfc
_erfc = erfc
erfcf
_erfcf = erfcf
erff
_erff = erff
execl
_execl = execl
execle
_execle = execle
execlp
_execlp = execlp
execv
_execv = execv
execve
_execve = execve
execvp
_execvp = execvp
exit
_exit
exp
_exp = exp
expf
_expf = expf
expm1
_expm1 = expm1
expm1f
_expm1f = expm1f
fabs
_fabs = fabs
fabsf
_fabsf = fabsf
2000-02-21 11:18:37 +08:00
_f_atan2
__f_atan2 = _f_atan2
_f_atan2f
__f_atan2f = _f_atan2f
fchdir
_fchdir = fchdir
2000-02-18 03:38:33 +08:00
fchmod
_fchmod = fchmod
fchown
_fchown = fchown
fchown32
2000-02-18 03:38:33 +08:00
fclose
_fclose = fclose
fcloseall
_fcloseall = fcloseall
_fcloseall_r
fcloseall_r = _fcloseall_r
fcntl
_fcntl = fcntl
2000-02-18 03:38:33 +08:00
fcvt
_fcvt = fcvt
fcvtbuf
_fcvtbuf = fcvtbuf
fcvtf
_fcvtf = fcvtf
fdopen
_fdopen = fdopen
feof
_feof = feof
ferror
_ferror = ferror
2000-02-21 11:18:37 +08:00
_f_exp
__f_exp = _f_exp
_f_expf
__f_expf = _f_expf
2000-02-18 03:38:33 +08:00
fflush
_fflush = fflush
2000-02-21 11:18:37 +08:00
_f_frexp
__f_frexp = _f_frexp
_f_frexpf
__f_frexpf = _f_frexpf
2000-02-18 03:38:33 +08:00
fgetc
_fgetc = fgetc
fgetpos
_fgetpos = fgetpos
fgets
_fgets = fgets
ffs
_ffs = ffs
fileno
_fileno = fileno
finite
_finite = finite
finitef
_finitef = finitef
fiprintf
_fiprintf = fiprintf
2000-02-21 11:18:37 +08:00
_f_ldexp
__f_ldexp = _f_ldexp
_f_ldexpf
__f_ldexpf = _f_ldexpf
_f_log
__f_log = _f_log
_f_logf
__f_logf = _f_logf
_f_log10
__f_log10 = _f_log10
_f_log10f
__f_log10f = _f_log10f
2000-02-18 03:38:33 +08:00
floor
_floor = floor
floorf
_floorf = floorf
fnmatch
_fnmatch = fnmatch
2000-02-18 03:38:33 +08:00
fmod
_fmod = fmod
fmodf
_fmodf = fmodf
fopen
_fopen = fopen
fork
_fork = fork
fpathconf
2000-02-21 11:18:37 +08:00
_f_pow
__f_pow = _f_pow
_f_powf
__f_powf = _f_powf
2000-02-18 03:38:33 +08:00
fprintf
_fprintf = fprintf
fputc
_fputc = fputc
fputs
_fputs = fputs
fread
_fread = fread
free
_free = free
2000-02-18 03:38:33 +08:00
freopen
_freopen = freopen
frexp
_frexp = frexp
frexpf
_frexpf = frexpf
fscanf
_fscanf = fscanf
_fscanf_r
fscanf_r = _fscanf_r
2000-02-18 03:38:33 +08:00
fseek
_fseek = fseek
fseeko
_fseeko = fseeko
2000-02-18 03:38:33 +08:00
fsetpos
_fsetpos = fsetpos
_fstat
fstat = _fstat
* cygwin.din (fstat64): New symbol. (ftruncate64): Ditto. (lseek64): Ditto. (lstat64): Ditto. (mmap64): Ditto. (seekdir64): Ditto. (stat64): Ditto. (telldir64): Ditto. (truncate64): Ditto. * dir.cc (telldir64): New function. (telldir): Call telldir64(). (seekdir64): New function. (seekdir): Call seekdir64(). * fhandler.h: Redefine all methods using __off32_t to use __off64_t. * fhandler.cc: Use __off64_t and struct __stat64 throughout. * fhandler_clipboard.cc: Ditto. * fhandler_disk_file.cc: Ditto. * fhandler_dsp.cc: Ditto. * fhandler_floppy.cc: Ditto. * fhandler_mem.cc: Ditto. * fhandler_random.cc: Ditto. * fhandler_socket.cc: Ditto. * fhandler_tape.cc: Ditto. * fhandler_zero.cc: Ditto. * pipe.cc: Ditto. * glob.c: Ditto, call lstat64 and stat64 in Cygwin. * mmap.cc: Use __off64_t throughout. (mmap64): New function. * sec_acl.cc (acl_worker): Use struct __stat64, call stat64 and lstat64. * syscalls.cc (lseek64): New function. (stat64_to_stat32): Ditto. (fstat64): Ditto. (stat64): Ditto. (lstat64): Ditto. (ftruncate64): Ditto. (truncate64): Ditto. (_fstat): Call fstat64. (_stat): Call stat64. (cygwin_lstat): Rename to avoid declaration problem. Call lstat64. (stat_worker): Use struct __stat64. (access): Ditto. (ftruncate): Call ftruncate64. (truncate): Call truncate64. * wincap.cc: Set flag has_64bit_file_access appropriately. * wincap.h: Add flag has_64bit_file_access. * winsup.h (ILLEGAL_SEEK): Define as __off64_t. (stat_dev): Declare using struct __stat64. (stat_worker): Ditto. * include/cygwin/stat.h (struct __stat32): Define if compiling Cygwin. (struct __stat64): Ditto. (struct stat): Revert definition with explicitly sized datatypes. Eliminate sized field names. * include/cygwin/types.h (blksize_t): New type. (__blkcnt32_t): Ditto. (__blkcnt64_t): Ditto. (blkcnt_t): Ditto.
2002-02-26 01:47:51 +08:00
fstat64
2000-02-18 03:38:33 +08:00
fstatfs
_fstatfs = fstatfs
fsync
_fsync = fsync
2000-02-21 11:18:37 +08:00
_f_tan
__f_tan = _f_tan
_f_tanf
__f_tanf = _f_tanf
2000-02-18 03:38:33 +08:00
ftell
_ftell = ftell
ftello
_ftello = ftello
2000-02-18 03:38:33 +08:00
ftime
_ftime = ftime
ftruncate
_ftruncate = ftruncate
* cygwin.din (fstat64): New symbol. (ftruncate64): Ditto. (lseek64): Ditto. (lstat64): Ditto. (mmap64): Ditto. (seekdir64): Ditto. (stat64): Ditto. (telldir64): Ditto. (truncate64): Ditto. * dir.cc (telldir64): New function. (telldir): Call telldir64(). (seekdir64): New function. (seekdir): Call seekdir64(). * fhandler.h: Redefine all methods using __off32_t to use __off64_t. * fhandler.cc: Use __off64_t and struct __stat64 throughout. * fhandler_clipboard.cc: Ditto. * fhandler_disk_file.cc: Ditto. * fhandler_dsp.cc: Ditto. * fhandler_floppy.cc: Ditto. * fhandler_mem.cc: Ditto. * fhandler_random.cc: Ditto. * fhandler_socket.cc: Ditto. * fhandler_tape.cc: Ditto. * fhandler_zero.cc: Ditto. * pipe.cc: Ditto. * glob.c: Ditto, call lstat64 and stat64 in Cygwin. * mmap.cc: Use __off64_t throughout. (mmap64): New function. * sec_acl.cc (acl_worker): Use struct __stat64, call stat64 and lstat64. * syscalls.cc (lseek64): New function. (stat64_to_stat32): Ditto. (fstat64): Ditto. (stat64): Ditto. (lstat64): Ditto. (ftruncate64): Ditto. (truncate64): Ditto. (_fstat): Call fstat64. (_stat): Call stat64. (cygwin_lstat): Rename to avoid declaration problem. Call lstat64. (stat_worker): Use struct __stat64. (access): Ditto. (ftruncate): Call ftruncate64. (truncate): Call truncate64. * wincap.cc: Set flag has_64bit_file_access appropriately. * wincap.h: Add flag has_64bit_file_access. * winsup.h (ILLEGAL_SEEK): Define as __off64_t. (stat_dev): Declare using struct __stat64. (stat_worker): Ditto. * include/cygwin/stat.h (struct __stat32): Define if compiling Cygwin. (struct __stat64): Ditto. (struct stat): Revert definition with explicitly sized datatypes. Eliminate sized field names. * include/cygwin/types.h (blksize_t): New type. (__blkcnt32_t): Ditto. (__blkcnt64_t): Ditto. (blkcnt_t): Ditto.
2002-02-26 01:47:51 +08:00
ftruncate64
2000-02-18 03:38:33 +08:00
fwrite
_fwrite = fwrite
gamma
_gamma = gamma
gamma_r
_gamma_r = gamma_r
2000-02-18 03:38:33 +08:00
gammaf
_gammaf = gammaf
gammaf_r
_gammaf_r = gammaf_r
2000-02-18 03:38:33 +08:00
gcvt
_gcvt = gcvt
gcvtf
_gcvtf = gcvtf
getc
_getc = getc
getc_unlocked
_getc_unlocked = getc_unlocked
2000-02-18 03:38:33 +08:00
getchar
_getchar = getchar
getchar_unlocked
_getchar_unlocked = getchar_unlocked
2000-02-18 03:38:33 +08:00
getcwd
_getcwd = getcwd
getdtablesize
_getdtablesize = getdtablesize
getegid
_getegid = getegid
getegid32
2000-02-18 03:38:33 +08:00
geteuid
_geteuid = geteuid
geteuid32
2000-02-18 03:38:33 +08:00
getgid
_getgid = getgid
getgid32
2000-02-18 03:38:33 +08:00
getgrgid
_getgrgid = getgrgid
getgrgid32
2000-02-18 03:38:33 +08:00
getgrnam
_getgrnam = getgrnam
getgrnam32
2000-02-18 03:38:33 +08:00
getgroups
_getgroups = getgroups
getgroups32
2000-02-18 03:38:33 +08:00
gethostname = cygwin_gethostname
_gethostname = cygwin_gethostname
getlogin
_getlogin = getlogin
getmntent
_getmntent = getmntent
getmode
_getmode = getmode
2000-02-18 03:38:33 +08:00
get_osfhandle
_get_osfhandle = get_osfhandle
getpagesize
_getpagesize = getpagesize
getpass
_getpass = getpass
getpid
_getpid = getpid
getppid
_getppid = getppid
getrlimit
_getrlimit = getrlimit
2000-02-18 03:38:33 +08:00
getrusage
_getrusage = getrusage
gets
_gets = gets
getsid
2000-02-18 03:38:33 +08:00
gettimeofday
_gettimeofday = gettimeofday
getuid
_getuid = getuid
getuid32
getutent
_getutent = getutent
getutid
_getutid = getutid
getutline
_getutline = getutline
2000-02-18 03:38:33 +08:00
glob
_glob = glob
globfree
_globfree = globfree
gmtime
_gmtime = gmtime
gmtime_r
_gmtime_r = gmtime_r
2000-02-18 03:38:33 +08:00
h_errno DATA
hypot
_hypot = hypot
hypotf
_hypotf = hypotf
ilogb
_ilogb = ilogb
ilogbf
_ilogbf = ilogbf
index
_index = index
infinity
_infinity = infinity
infinityf
_infinityf = infinityf
initgroups
initgroups32
2000-02-18 03:38:33 +08:00
ioctl
_ioctl = ioctl
iprintf
_iprintf = iprintf
isalnum
_isalnum = isalnum
isalpha
_isalpha = isalpha
isascii
_isascii = isascii
isatty
_isatty = isatty
iscntrl
_iscntrl = iscntrl
isdigit
_isdigit = isdigit
isgraph
_isgraph = isgraph
isinf
_isinf = isinf
isinff
_isinff = isinff
islower
_islower = islower
isnan
_isnan = isnan
isnanf
_isnanf = isnanf
isprint
_isprint = isprint
ispunct
_ispunct = ispunct
isspace
_isspace = isspace
isupper
_isupper = isupper
isxdigit
_isxdigit = isxdigit
j0
_j0 = j0
j0f
_j0f = j0f
j1
_j1 = j1
j1f
_j1f = j1f
jn
_jn = jn
jnf
_jnf = jnf
kill
_kill = kill
2000-02-18 03:38:33 +08:00
labs
_labs = labs
lchown
_lchown = lchown
lchown32
2000-02-18 03:38:33 +08:00
ldexp
_ldexp = ldexp
ldexpf
_ldexpf = ldexpf
ldiv
_ldiv = ldiv
lgamma
_lgamma = lgamma
lgamma_r
_lgamma_r = lgamma_r
2000-02-18 03:38:33 +08:00
lgammaf
_lgammaf = lgammaf
lgammaf_r
_lgammaf_r = lgammaf_r
2000-02-18 03:38:33 +08:00
link
_link = link
localeconv
_localeconv = localeconv
localtime
_localtime = localtime
localtime_r
_localtime_r = localtime_r
2000-02-18 03:38:33 +08:00
log
_log = log
log10
_log10 = log10
log10f
_log10f = log10f
log1p
_log1p = log1p
log1pf
_log1pf = log1pf
logb
_logb = logb
logbf
_logbf = logbf
logf
_logf = logf
login
logout
longjmp
_longjmp = longjmp
lseek
_lseek = lseek
* cygwin.din (fstat64): New symbol. (ftruncate64): Ditto. (lseek64): Ditto. (lstat64): Ditto. (mmap64): Ditto. (seekdir64): Ditto. (stat64): Ditto. (telldir64): Ditto. (truncate64): Ditto. * dir.cc (telldir64): New function. (telldir): Call telldir64(). (seekdir64): New function. (seekdir): Call seekdir64(). * fhandler.h: Redefine all methods using __off32_t to use __off64_t. * fhandler.cc: Use __off64_t and struct __stat64 throughout. * fhandler_clipboard.cc: Ditto. * fhandler_disk_file.cc: Ditto. * fhandler_dsp.cc: Ditto. * fhandler_floppy.cc: Ditto. * fhandler_mem.cc: Ditto. * fhandler_random.cc: Ditto. * fhandler_socket.cc: Ditto. * fhandler_tape.cc: Ditto. * fhandler_zero.cc: Ditto. * pipe.cc: Ditto. * glob.c: Ditto, call lstat64 and stat64 in Cygwin. * mmap.cc: Use __off64_t throughout. (mmap64): New function. * sec_acl.cc (acl_worker): Use struct __stat64, call stat64 and lstat64. * syscalls.cc (lseek64): New function. (stat64_to_stat32): Ditto. (fstat64): Ditto. (stat64): Ditto. (lstat64): Ditto. (ftruncate64): Ditto. (truncate64): Ditto. (_fstat): Call fstat64. (_stat): Call stat64. (cygwin_lstat): Rename to avoid declaration problem. Call lstat64. (stat_worker): Use struct __stat64. (access): Ditto. (ftruncate): Call ftruncate64. (truncate): Call truncate64. * wincap.cc: Set flag has_64bit_file_access appropriately. * wincap.h: Add flag has_64bit_file_access. * winsup.h (ILLEGAL_SEEK): Define as __off64_t. (stat_dev): Declare using struct __stat64. (stat_worker): Ditto. * include/cygwin/stat.h (struct __stat32): Define if compiling Cygwin. (struct __stat64): Ditto. (struct stat): Revert definition with explicitly sized datatypes. Eliminate sized field names. * include/cygwin/types.h (blksize_t): New type. (__blkcnt32_t): Ditto. (__blkcnt64_t): Ditto. (blkcnt_t): Ditto.
2002-02-26 01:47:51 +08:00
lseek64
lstat = cygwin_lstat
_lstat = cygwin_lstat
lstat64
malloc
_malloc = malloc
malloc_stats
malloc_trim
malloc_usable_size
mallopt
2000-02-18 03:38:33 +08:00
matherr
_matherr = matherr
mblen
_mblen = mblen
mbstowcs
_mbstowcs = mbstowcs
mbtowc
_mbtowc = mbtowc
memalign
2000-02-18 03:38:33 +08:00
memchr
_memchr = memchr
memcmp
_memcmp = memcmp
memcpy
_memcpy = memcpy
memmove
_memmove = memmove
memset
_memset = memset
mkdir
_mkdir = mkdir
* configure.in: Remove PTH_ALLOW. * cygwin.din: Remove @PTH_ALLOW@ prefixes to pthread functions. Add new pthread exports. * pthread.cc: New wrapper functions for the above new exports. * sched.cc (valid_sched_parameters): New function. (sched_setparam): Use it. (sched_set_thread_priority): New function. Used by pthread_sched*. * thread.cc (pthread_key_destructor::InsertAfter): New function. (pthread_key_destructor::UnlinkNext): New function. (pthread_key_destructor::Next): New function. (pthread_key_destructor_list::Insert): New function. (pthread_key_destructor_list::Remove): New function. (pthread_key_destructor_list::Pop): New function. (pthread_key_destructor::pthread_key_destructor): New function. (pthread_key_destructor_list::IterateNull): New function. (MTinterface::Init): Initialise new member. (pthread::pthread): Initialise new members. (pthread::create): Copy new attributes. Set the new thread priority. (pthread_attr::pthread_attr): Initialise new members. (pthread_key::pthread_key): Setup destructor function. (pthread_key::~pthread_key): Remove destructor function. (pthread_mutexattr::pthread_mutexattr): New function. (pthread_mutexattr::~pthread_mutexattr): New function. (__pthread_once): New function. (__pthread_cleanup): New function. (__pthread_cancel): New function. (__pthread_setcancelstate): New function. (__pthread_setcanceltype): New function. (__pthread_testcancel): New function. (__pthread_attr_getinheritsched): New function. (__pthread_attr_getschedparam): New function. (__pthread_attr_getschedpolicy): New function. (__pthread_attr_getscope): New function. (__pthread_attr_setinheritsched): New function. (__pthread_attr_setschedparam): New function. (__pthread_attr_setschedpolicy): New function. (__pthread_attr_setscope): New function. (__pthread_exit): Call any key destructors on thread exit. (__pthread_join): Use the embedded attr values. (__pthread_detach): Use the embedded attr values. (__pthread_getconcurrency): New function. (__pthread_getschedparam): New function. (__pthread_key_create): Pass the destructor on object creation. (__pthread_key_delete): Correct incorrect prototype. (__pthread_setconcurrency): New function. (__pthread_setschedparam): New function. (__pthread_cond_timedwait): Support static mutex initialisers. (__pthread_cond_wait): Ditto. (__pthread_mutex_getprioceiling): New function. (__pthread_mutex_lock): Support static mutex initialisers. (__pthread_mutex_trylock): Ditto. (__pthread_mutex_unlock): Ditto. (__pthread_mutex_destroy): Ditto. (__pthread_mutex_setprioceiling): New function. (__pthread_mutexattr_getprotocol): New function. (__pthread_mutexattr_getpshared): New function. (__pthread_mutexattr_gettype): New function. (__pthread_mutexattr_init): New function. (__pthread_mutexattr_destroy): New function. (__pthread_mutexattr_setprotocol): New function. (__pthread_mutexattr_setprioceiling): New function. (__pthread_mutexattr_getprioceiling): New function. (__pthread_mutexattr_setpshared): New function. (__pthread_mutexattr_settype): New function. Remove stubs for non MT_SAFE compilation. * thread.h: Remove duplicate #defines. Add prototypes for new functions in thread.cc. (pthread_key_destructor): New class. (pthread_key_destructor_list): New class. (pthread_attr): Add new members. (pthread): Remove members that are duplicated in the pthread_attr class. (pthread_mutex_attr): Add new members. (pthread_once): New class. * include/pthread.h: Add prototypes for new functions exported from cygwin1.dll. Remove typedefs. * include/sched.h: Add prototypes for new functions in sched.cc. * include/cygwin/types.h: Add typedefs from pthread.h
2001-04-12 12:04:53 +08:00
mkfifo
2000-02-18 03:38:33 +08:00
mknod
_mknod = mknod
mkstemp
_mkstemp = mkstemp
mktemp
_mktemp = mktemp
mktime
_mktime = mktime
mmap
* cygwin.din (fstat64): New symbol. (ftruncate64): Ditto. (lseek64): Ditto. (lstat64): Ditto. (mmap64): Ditto. (seekdir64): Ditto. (stat64): Ditto. (telldir64): Ditto. (truncate64): Ditto. * dir.cc (telldir64): New function. (telldir): Call telldir64(). (seekdir64): New function. (seekdir): Call seekdir64(). * fhandler.h: Redefine all methods using __off32_t to use __off64_t. * fhandler.cc: Use __off64_t and struct __stat64 throughout. * fhandler_clipboard.cc: Ditto. * fhandler_disk_file.cc: Ditto. * fhandler_dsp.cc: Ditto. * fhandler_floppy.cc: Ditto. * fhandler_mem.cc: Ditto. * fhandler_random.cc: Ditto. * fhandler_socket.cc: Ditto. * fhandler_tape.cc: Ditto. * fhandler_zero.cc: Ditto. * pipe.cc: Ditto. * glob.c: Ditto, call lstat64 and stat64 in Cygwin. * mmap.cc: Use __off64_t throughout. (mmap64): New function. * sec_acl.cc (acl_worker): Use struct __stat64, call stat64 and lstat64. * syscalls.cc (lseek64): New function. (stat64_to_stat32): Ditto. (fstat64): Ditto. (stat64): Ditto. (lstat64): Ditto. (ftruncate64): Ditto. (truncate64): Ditto. (_fstat): Call fstat64. (_stat): Call stat64. (cygwin_lstat): Rename to avoid declaration problem. Call lstat64. (stat_worker): Use struct __stat64. (access): Ditto. (ftruncate): Call ftruncate64. (truncate): Call truncate64. * wincap.cc: Set flag has_64bit_file_access appropriately. * wincap.h: Add flag has_64bit_file_access. * winsup.h (ILLEGAL_SEEK): Define as __off64_t. (stat_dev): Declare using struct __stat64. (stat_worker): Ditto. * include/cygwin/stat.h (struct __stat32): Define if compiling Cygwin. (struct __stat64): Ditto. (struct stat): Revert definition with explicitly sized datatypes. Eliminate sized field names. * include/cygwin/types.h (blksize_t): New type. (__blkcnt32_t): Ditto. (__blkcnt64_t): Ditto. (blkcnt_t): Ditto.
2002-02-26 01:47:51 +08:00
mmap64
2000-02-18 03:38:33 +08:00
mprotect
msync
munmap
modf
_modf = modf
modff
_modff = modff
nan
_nan = nan
nanf
_nanf = nanf
nextafter
_nextafter = nextafter
nextafterf
_nextafterf = nextafterf
nl_langinfo
_nl_langinfo = nl_langinfo
open
_open = open
2000-02-18 03:38:33 +08:00
opendir
_opendir = opendir
pathconf
_pathconf = pathconf
perror
_perror = perror
pipe
_pipe
poll
_poll = poll
2000-02-18 03:38:33 +08:00
pow
_pow = pow
powf
_powf = powf
printf
_printf = printf
putc
_putc = putc
putc_unlocked
_putc_unlocked = putc_unlocked
2000-02-18 03:38:33 +08:00
putchar
_putchar = putchar
putchar_unlocked
_putchar_unlocked = putchar_unlocked
2000-02-18 03:38:33 +08:00
puts
_puts = puts
pututline
_pututline = pututline
2000-02-18 03:38:33 +08:00
putw
_putw = putw
qsort
_qsort = qsort
raise
_raise = raise
rand
_rand = rand
random
initstate
setstate
read
_read = read
2000-02-18 03:38:33 +08:00
readdir
_readdir = readdir
readlink
_readlink = readlink
readv
_readv = readv
realloc
_realloc = realloc
posix_regcomp
posix_regerror
posix_regexec
posix_regfree
2000-02-18 03:38:33 +08:00
remainder
_remainder = remainder
remainderf
_remainderf = remainderf
remove
_remove = remove
rename
_rename = rename
2000-02-18 03:38:33 +08:00
rewind
_rewind = rewind
rewinddir
_rewinddir = rewinddir
rindex
_rindex = rindex
rint
_rint = rint
rintf
_rintf = rintf
rmdir
_rmdir = rmdir
sbrk
_sbrk = sbrk
scalb
_scalb = scalb
scalbf
_scalbf = scalbf
scalbn
_scalbn = scalbn
scalbnf
_scalbnf = scalbnf
scandir
_scandir = scandir
scanf
_scanf = scanf
_scanf_r
scanf_r = _scanf_r
2000-02-18 03:38:33 +08:00
seekdir
_seekdir = seekdir
* cygwin.din (fstat64): New symbol. (ftruncate64): Ditto. (lseek64): Ditto. (lstat64): Ditto. (mmap64): Ditto. (seekdir64): Ditto. (stat64): Ditto. (telldir64): Ditto. (truncate64): Ditto. * dir.cc (telldir64): New function. (telldir): Call telldir64(). (seekdir64): New function. (seekdir): Call seekdir64(). * fhandler.h: Redefine all methods using __off32_t to use __off64_t. * fhandler.cc: Use __off64_t and struct __stat64 throughout. * fhandler_clipboard.cc: Ditto. * fhandler_disk_file.cc: Ditto. * fhandler_dsp.cc: Ditto. * fhandler_floppy.cc: Ditto. * fhandler_mem.cc: Ditto. * fhandler_random.cc: Ditto. * fhandler_socket.cc: Ditto. * fhandler_tape.cc: Ditto. * fhandler_zero.cc: Ditto. * pipe.cc: Ditto. * glob.c: Ditto, call lstat64 and stat64 in Cygwin. * mmap.cc: Use __off64_t throughout. (mmap64): New function. * sec_acl.cc (acl_worker): Use struct __stat64, call stat64 and lstat64. * syscalls.cc (lseek64): New function. (stat64_to_stat32): Ditto. (fstat64): Ditto. (stat64): Ditto. (lstat64): Ditto. (ftruncate64): Ditto. (truncate64): Ditto. (_fstat): Call fstat64. (_stat): Call stat64. (cygwin_lstat): Rename to avoid declaration problem. Call lstat64. (stat_worker): Use struct __stat64. (access): Ditto. (ftruncate): Call ftruncate64. (truncate): Call truncate64. * wincap.cc: Set flag has_64bit_file_access appropriately. * wincap.h: Add flag has_64bit_file_access. * winsup.h (ILLEGAL_SEEK): Define as __off64_t. (stat_dev): Declare using struct __stat64. (stat_worker): Ditto. * include/cygwin/stat.h (struct __stat32): Define if compiling Cygwin. (struct __stat64): Ditto. (struct stat): Revert definition with explicitly sized datatypes. Eliminate sized field names. * include/cygwin/types.h (blksize_t): New type. (__blkcnt32_t): Ditto. (__blkcnt64_t): Ditto. (blkcnt_t): Ditto.
2002-02-26 01:47:51 +08:00
seekdir64
2000-02-18 03:38:33 +08:00
setbuf
_setbuf = setbuf
setdtablesize
_setdtablesize = setdtablesize
setgid
_setgid = setgid
setgid32
setgroups
_setgroups = setgroups
setgroups32
2000-02-18 03:38:33 +08:00
setjmp
_setjmp = setjmp
setlocale
_setlocale = setlocale
setpgid
_setpgid = setpgid
setrlimit
_setrlimit = setrlimit
2000-02-18 03:38:33 +08:00
setsid
_setsid = setsid
settimeofday
_settimeofday = settimeofday
seteuid
_seteuid = seteuid
seteuid32
2000-02-18 03:38:33 +08:00
setegid
_setegid = setegid
setegid32
2000-02-18 03:38:33 +08:00
setuid
_setuid = setuid
setuid32
setutent
_setutent = setutent
2000-02-18 03:38:33 +08:00
chroot
_chroot = chroot
setvbuf
_setvbuf = setvbuf
sigaction
_sigaction = sigaction
sigaddset
_sigaddset = sigaddset
sigdelset
_sigdelset = sigdelset
sigismember
_sigismember = sigismember
sigemptyset
_sigemptyset = sigemptyset
sigfillset
_sigfillset = sigfillset
siginterrupt
_siginterrupt = siginterrupt
2000-02-18 03:38:33 +08:00
signal
_signal = signal
significand
_significand = significand
significandf
_significandf = significandf
sigpending
_sigpending = sigpending
sigprocmask
_sigprocmask = sigprocmask
sigsuspend
_sigsuspend = sigsuspend
sin
_sin = sin
sinf
_sinf = sinf
sinh
_sinh = sinh
sinhf
_sinhf = sinhf
siprintf
_siprintf = siprintf
sleep
_sleep = sleep
spawnl
_spawnl = spawnl
spawnle
_spawnle = spawnle
spawnlp
_spawnlp = spawnlp
spawnlpe
_spawnlpe = spawnlpe
spawnv
_spawnv = spawnv
spawnve
_spawnve = spawnve
spawnvp
_spawnvp = spawnvp
spawnvpe
_spawnvpe = spawnvpe
sprintf
_sprintf = sprintf
snprintf
_snprintf = snprintf
sqrt
_sqrt = sqrt
sqrtf
_sqrtf = sqrtf
srand
_srand = srand
srandom
sscanf
_sscanf = sscanf
_sscanf_r
sscanf_r = _sscanf_r
_stat
stat = _stat
* cygwin.din (fstat64): New symbol. (ftruncate64): Ditto. (lseek64): Ditto. (lstat64): Ditto. (mmap64): Ditto. (seekdir64): Ditto. (stat64): Ditto. (telldir64): Ditto. (truncate64): Ditto. * dir.cc (telldir64): New function. (telldir): Call telldir64(). (seekdir64): New function. (seekdir): Call seekdir64(). * fhandler.h: Redefine all methods using __off32_t to use __off64_t. * fhandler.cc: Use __off64_t and struct __stat64 throughout. * fhandler_clipboard.cc: Ditto. * fhandler_disk_file.cc: Ditto. * fhandler_dsp.cc: Ditto. * fhandler_floppy.cc: Ditto. * fhandler_mem.cc: Ditto. * fhandler_random.cc: Ditto. * fhandler_socket.cc: Ditto. * fhandler_tape.cc: Ditto. * fhandler_zero.cc: Ditto. * pipe.cc: Ditto. * glob.c: Ditto, call lstat64 and stat64 in Cygwin. * mmap.cc: Use __off64_t throughout. (mmap64): New function. * sec_acl.cc (acl_worker): Use struct __stat64, call stat64 and lstat64. * syscalls.cc (lseek64): New function. (stat64_to_stat32): Ditto. (fstat64): Ditto. (stat64): Ditto. (lstat64): Ditto. (ftruncate64): Ditto. (truncate64): Ditto. (_fstat): Call fstat64. (_stat): Call stat64. (cygwin_lstat): Rename to avoid declaration problem. Call lstat64. (stat_worker): Use struct __stat64. (access): Ditto. (ftruncate): Call ftruncate64. (truncate): Call truncate64. * wincap.cc: Set flag has_64bit_file_access appropriately. * wincap.h: Add flag has_64bit_file_access. * winsup.h (ILLEGAL_SEEK): Define as __off64_t. (stat_dev): Declare using struct __stat64. (stat_worker): Ditto. * include/cygwin/stat.h (struct __stat32): Define if compiling Cygwin. (struct __stat64): Ditto. (struct stat): Revert definition with explicitly sized datatypes. Eliminate sized field names. * include/cygwin/types.h (blksize_t): New type. (__blkcnt32_t): Ditto. (__blkcnt64_t): Ditto. (blkcnt_t): Ditto.
2002-02-26 01:47:51 +08:00
stat64
2000-02-18 03:38:33 +08:00
statfs
_statfs = statfs
strcasecmp
_strcasecmp = strcasecmp
strcat
_strcat = strcat
strchr
_strchr = strchr
strcmp
_strcmp = strcmp
strcoll
_strcoll = strcoll
strcpy
_strcpy = strcpy
strcspn
_strcspn = strcspn
strdup
_strdup = strdup
strerror
_strerror = strerror
strlen
_strlen = strlen
strlwr
_strlwr = strlwr
strncasecmp
_strncasecmp = strncasecmp
strncat
_strncat = strncat
strncmp
_strncmp = strncmp
strncpy
_strncpy = strncpy
strpbrk
_strpbrk = strpbrk
strrchr
_strrchr = strrchr
strspn
_strspn = strspn
strstr
_strstr = strstr
strtod
_strtod = strtod
strtof
strtodf = strtof
_strtodf = strtof
2000-02-18 03:38:33 +08:00
strtok
_strtok = strtok
strtok_r
_strtok_r = strtok_r
2000-02-18 03:38:33 +08:00
strtol
_strtol = strtol
strtoll
_strtoll = strtoll
2000-02-18 03:38:33 +08:00
strtoul
_strtoul = strtoul
strtoull
_strtoull = strtoull
2000-02-18 03:38:33 +08:00
strupr
_strupr = strupr
strxfrm
_strxfrm = strxfrm
swab
_swab = swab
symlink
_symlink = symlink
sync
_sync = sync
sysconf
_sysconf = sysconf
system
_system = system
tan
_tan = tan
tanf
_tanf = tanf
tanh
_tanh = tanh
tanhf
_tanhf = tanhf
tcdrain
_tcdrain = tcdrain
tcflow
_tcflow = tcflow
tcflush
_tcflush = tcflush
tcgetattr
_tcgetattr = tcgetattr
tcgetpgrp
_tcgetpgrp = tcgetpgrp
tcsendbreak
_tcsendbreak = tcsendbreak
tcsetattr
_tcsetattr = tcsetattr
tcsetpgrp
_tcsetpgrp = tcsetpgrp
telldir
_telldir = telldir
* cygwin.din (fstat64): New symbol. (ftruncate64): Ditto. (lseek64): Ditto. (lstat64): Ditto. (mmap64): Ditto. (seekdir64): Ditto. (stat64): Ditto. (telldir64): Ditto. (truncate64): Ditto. * dir.cc (telldir64): New function. (telldir): Call telldir64(). (seekdir64): New function. (seekdir): Call seekdir64(). * fhandler.h: Redefine all methods using __off32_t to use __off64_t. * fhandler.cc: Use __off64_t and struct __stat64 throughout. * fhandler_clipboard.cc: Ditto. * fhandler_disk_file.cc: Ditto. * fhandler_dsp.cc: Ditto. * fhandler_floppy.cc: Ditto. * fhandler_mem.cc: Ditto. * fhandler_random.cc: Ditto. * fhandler_socket.cc: Ditto. * fhandler_tape.cc: Ditto. * fhandler_zero.cc: Ditto. * pipe.cc: Ditto. * glob.c: Ditto, call lstat64 and stat64 in Cygwin. * mmap.cc: Use __off64_t throughout. (mmap64): New function. * sec_acl.cc (acl_worker): Use struct __stat64, call stat64 and lstat64. * syscalls.cc (lseek64): New function. (stat64_to_stat32): Ditto. (fstat64): Ditto. (stat64): Ditto. (lstat64): Ditto. (ftruncate64): Ditto. (truncate64): Ditto. (_fstat): Call fstat64. (_stat): Call stat64. (cygwin_lstat): Rename to avoid declaration problem. Call lstat64. (stat_worker): Use struct __stat64. (access): Ditto. (ftruncate): Call ftruncate64. (truncate): Call truncate64. * wincap.cc: Set flag has_64bit_file_access appropriately. * wincap.h: Add flag has_64bit_file_access. * winsup.h (ILLEGAL_SEEK): Define as __off64_t. (stat_dev): Declare using struct __stat64. (stat_worker): Ditto. * include/cygwin/stat.h (struct __stat32): Define if compiling Cygwin. (struct __stat64): Ditto. (struct stat): Revert definition with explicitly sized datatypes. Eliminate sized field names. * include/cygwin/types.h (blksize_t): New type. (__blkcnt32_t): Ditto. (__blkcnt64_t): Ditto. (blkcnt_t): Ditto.
2002-02-26 01:47:51 +08:00
telldir64
2000-02-18 03:38:33 +08:00
tempnam
_tempnam = tempnam
time
_time = time
times
_times = times
2000-02-18 03:38:33 +08:00
timezone
tmpfile
_tmpfile = tmpfile
tmpnam
_tmpnam = tmpnam
toascii
_toascii = toascii
tolower
_tolower = tolower
toupper
_toupper = toupper
truncate
_truncate = truncate
* cygwin.din (fstat64): New symbol. (ftruncate64): Ditto. (lseek64): Ditto. (lstat64): Ditto. (mmap64): Ditto. (seekdir64): Ditto. (stat64): Ditto. (telldir64): Ditto. (truncate64): Ditto. * dir.cc (telldir64): New function. (telldir): Call telldir64(). (seekdir64): New function. (seekdir): Call seekdir64(). * fhandler.h: Redefine all methods using __off32_t to use __off64_t. * fhandler.cc: Use __off64_t and struct __stat64 throughout. * fhandler_clipboard.cc: Ditto. * fhandler_disk_file.cc: Ditto. * fhandler_dsp.cc: Ditto. * fhandler_floppy.cc: Ditto. * fhandler_mem.cc: Ditto. * fhandler_random.cc: Ditto. * fhandler_socket.cc: Ditto. * fhandler_tape.cc: Ditto. * fhandler_zero.cc: Ditto. * pipe.cc: Ditto. * glob.c: Ditto, call lstat64 and stat64 in Cygwin. * mmap.cc: Use __off64_t throughout. (mmap64): New function. * sec_acl.cc (acl_worker): Use struct __stat64, call stat64 and lstat64. * syscalls.cc (lseek64): New function. (stat64_to_stat32): Ditto. (fstat64): Ditto. (stat64): Ditto. (lstat64): Ditto. (ftruncate64): Ditto. (truncate64): Ditto. (_fstat): Call fstat64. (_stat): Call stat64. (cygwin_lstat): Rename to avoid declaration problem. Call lstat64. (stat_worker): Use struct __stat64. (access): Ditto. (ftruncate): Call ftruncate64. (truncate): Call truncate64. * wincap.cc: Set flag has_64bit_file_access appropriately. * wincap.h: Add flag has_64bit_file_access. * winsup.h (ILLEGAL_SEEK): Define as __off64_t. (stat_dev): Declare using struct __stat64. (stat_worker): Ditto. * include/cygwin/stat.h (struct __stat32): Define if compiling Cygwin. (struct __stat64): Ditto. (struct stat): Revert definition with explicitly sized datatypes. Eliminate sized field names. * include/cygwin/types.h (blksize_t): New type. (__blkcnt32_t): Ditto. (__blkcnt64_t): Ditto. (blkcnt_t): Ditto.
2002-02-26 01:47:51 +08:00
truncate64
2000-02-18 03:38:33 +08:00
ttyname
_ttyname = ttyname
tzset
_tzset = tzset
ualarm
_ualarm = ualarm
2000-02-18 03:38:33 +08:00
umask
_umask = umask
uname
_uname = uname
ungetc
_ungetc = ungetc
unlink
_unlink = unlink
usleep
_usleep = usleep
2000-02-18 03:38:33 +08:00
utime
_utime = utime
utimes
_utimes = utimes
utmpname
_utmpname = utmpname
valloc
vasprintf
_vasprintf = vasprintf
_vasprintf_r
vasprintf_r = _vasprintf_r
2000-02-18 03:38:33 +08:00
vfiprintf
_vfiprintf = vfiprintf
vfork
_vfork = vfork
vfprintf
_vfprintf = vfprintf
vfscanf
_vfscanf = vfscanf
_vfscanf_r
vfscanf_r = _vfscanf_r
2000-02-18 03:38:33 +08:00
vprintf
_vprintf = vprintf
vscanf
_vscanf = vscanf
_vscanf_r
vscanf_r = _vscanf_r
2000-02-18 03:38:33 +08:00
vsprintf
_vsprintf = vsprintf
vsnprintf
_vsnprintf = vsnprintf
vsscanf
_vsscanf = vsscanf
_vsscanf_r
vsscanf_r = _vsscanf_r
wait
_wait = wait
2000-02-18 03:38:33 +08:00
waitpid
_waitpid = waitpid
wait3
wait4
wcstombs
_wcstombs = wcstombs
wctomb
_wctomb = wctomb
write
_write = write
2000-02-18 03:38:33 +08:00
writev
_writev = writev
y0
y0f
y1
y1f
yn
ynf
drand48
_drand48 = drand48
erand48
_erand48 = erand48
jrand48
_jrand48 = jrand48
lcong48
_lcong48 = lcong48
lrand48
_lrand48 = lrand48
mrand48
_lrand48 = lrand48
nrand48
_nrand48 = nrand48
seed48
_seed48 = seed48
srand48
_srand48 = srand48
2000-02-18 03:38:33 +08:00
setmode
_setmode = setmode
__assertfail
getw
_getw = getw
getwd
_getwd = getwd
popen
_popen = popen
pclose
_pclose = pclose
strftime
_strftime = strftime
strlcat
_strlcat = strlcat
strlcpy
_strlcpy = strlcpy
strptime
_strptime = strptime
2000-02-18 03:38:33 +08:00
setgrent
_setgrent = setgrent
cuserid
_cuserid = cuserid
setpgrp
_setpgrp = setpgrp
mount
_mount = mount
setmntent
_setmntent = setmntent
endmntent
_endmntent = endmntent
umount
_umount = umount
wcscmp
_wcscmp = wcscmp
wcslen
_wcslen = wcslen
wprintf
_wprintf = wprintf
memccpy
_memccpy = memccpy
getpwent
_getpwent = getpwent
endpwent
_endpwent = endpwent
setpwent
_setpwent = setpwent
getpwduid
_getpwduid = getpwduid
getpwnam
_getpwnam = getpwnam
getpwnam_r
2000-02-18 03:38:33 +08:00
getpwuid
_getpwuid = getpwuid
getpwuid32
getpwuid_r
getpwuid_r32
2000-02-18 03:38:33 +08:00
getpgrp
_getpgrp = getpgrp
getgrent
_getgrent = getgrent
getgrent32
2000-02-18 03:38:33 +08:00
ntohl
_ntohl = ntohl
htonl
_htonl = htonl
htons
_htons = htons
ntohs
_ntohs = ntohs
accept = cygwin_accept
bind = cygwin_bind
connect = cygwin_connect
hstrerror = cygwin_hstrerror
2000-02-18 03:38:33 +08:00
herror = cygwin_herror
inet_addr = cygwin_inet_addr
inet_network = cygwin_inet_network
2000-02-18 03:38:33 +08:00
inet_netof
inet_makeaddr
listen = cygwin_listen
getdomainname
_getdomainname = getdomainname
gethostbyaddr = cygwin_gethostbyaddr
gethostbyname = cygwin_gethostbyname
getpeername = cygwin_getpeername
getprotobyname = cygwin_getprotobyname
getprotobynumber = cygwin_getprotobynumber
getservbyname = cygwin_getservbyname
getservbyport = cygwin_getservbyport
getsockname = cygwin_getsockname
getsockopt = cygwin_getsockopt
recv = cygwin_recv
select = cygwin_select
_select = cygwin_select
send = cygwin_send
socket = cygwin_socket
setsockopt = cygwin_setsockopt
inet_aton = cygwin_inet_aton
2000-02-18 03:38:33 +08:00
inet_ntoa = cygwin_inet_ntoa
recvfrom = cygwin_recvfrom
recvmsg = cygwin_recvmsg
sendmsg = cygwin_sendmsg
2000-02-18 03:38:33 +08:00
sendto = cygwin_sendto
shutdown = cygwin_shutdown
sethostent
endhostent
setpassent
_setpassent = setpassent
strsep
_strsep = strsep
syslog
_syslog = syslog
closelog
_closelog = closelog
openlog
_openlog = openlog
setlogmask
2000-02-18 03:38:33 +08:00
vhangup
_vhangup = vhangup
nice
_nice = nice
cygwin_conv_to_win32_path
cygwin_conv_to_full_win32_path
cygwin_conv_to_posix_path
cygwin_conv_to_full_posix_path
cygwin_posix_path_list_p
cygwin_win32_to_posix_path_list_buf_size
cygwin_posix_to_win32_path_list_buf_size
cygwin_win32_to_posix_path_list
cygwin_posix_to_win32_path_list
cygwin_split_path
cygwin_umount
cygwin32_conv_to_win32_path = cygwin_conv_to_win32_path
cygwin32_conv_to_full_win32_path = cygwin_conv_to_full_win32_path
cygwin32_conv_to_posix_path = cygwin_conv_to_posix_path
cygwin32_conv_to_full_posix_path = cygwin_conv_to_full_posix_path
cygwin32_posix_path_list_p = cygwin_posix_path_list_p
cygwin32_win32_to_posix_path_list_buf_size = cygwin_win32_to_posix_path_list_buf_size
cygwin32_posix_to_win32_path_list_buf_size = cygwin_posix_to_win32_path_list_buf_size
cygwin32_win32_to_posix_path_list = cygwin_win32_to_posix_path_list
cygwin32_posix_to_win32_path_list = cygwin_posix_to_win32_path_list
cygwin32_split_path = cygwin_split_path
cygwin_winpid_to_pid
cygwin32_winpid_to_pid = cygwin_winpid_to_pid
cygwin_logon_user
cygwin_set_impersonation_token
2000-02-18 03:38:33 +08:00
realpath
reent_data DATA
getenv
_getenv = getenv
putenv
_putenv = putenv
setenv
_setenv = setenv
unsetenv
_unsetenv = unsetenv
setitimer
getitimer
getpgid
killpg
pause
__cygwin_environ DATA
* Makefile.in: Use variables rather than configure constructs where appropriate. (LIBCOS): Find additional stub library stuff in their own subdirectory. * dcrt0.cc: Convert user_data pointer to static __cygwin_user_data area. (do_global_ctors): Check magic_bisquit for initialization. (dll_crt0_1): First group of premain functions prior to fd initialization. Run second group before calling main. (dll_crt0 ()): New function, called from new initialization code. (dll_crt0 (per_process *uptr)): Call new dll_crt0 () function on initialization. * debug.cc (thread_stub): Initialize bottom of stack with per-thread info. * environ.cc (parse_thing): Use binmode global to control CYGWIN=binmode behavior. * fhandler.cc (fhandler_base::open): Allow explicit setting of __fmode to O_BINARY or O_TEXT to override disk mount settings. * libcmain.cc: Move to lib subdirectory. * libccrt0.cc: Ditto. * dll_main.cc: Ditto. * dll_entry.cc: Ditto. * getopt.c: Ditto. * thread.cc (thread_init_wrapper): Call ExitThread explicitly rather than returning, as a preliminary step towards placing per thread info at the bottom of the stack. * winsup.h: Move per_process class to include/sys/cygwin.h. Declare new dll_crt0(). * include/cygwin/version.h: Bump API minor version. * binmode.c: New file. * textmode.c: Ditto. * lib/_cygwin_crt0_common.cc: Ditto. * lib/crt0.h: Ditto. * lib/cygwin_attach_dll.c: Ditto. * lib/cygwin_crt0.c: Ditto. * lib/dll_entry.cc: Ditto. * lib/dll_main.cc: Ditto. * lib/getopt.c: Ditto. * lib/libcmain.c: Ditto. * lib/premain0.c: Ditto. * lib/premain1.c: Ditto. * lib/premain2.c: Ditto. * lib/premain3.c: Ditto.
2000-07-01 11:51:55 +08:00
__cygwin_user_data DATA
2000-02-18 03:38:33 +08:00
_ctype_ DATA
_sys_errlist DATA
sys_errlist = _sys_errlist DATA
2000-02-18 03:38:33 +08:00
_sys_nerr DATA
sys_nerr = _sys_nerr DATA
2000-02-18 03:38:33 +08:00
__mb_cur_max DATA
_timezone DATA
_daylight DATA
_tzname DATA
ptsname
grantpt
unlockpt
sexecve = sexecve_is_bad
sexecl = sexecve_is_bad
sexecle = sexecve_is_bad
sexeclp = sexecve_is_bad
sexeclpe = sexecve_is_bad
sexecv = sexecve_is_bad
sexecp = sexecve_is_bad
sexecvpe = sexecve_is_bad
2000-02-18 03:38:33 +08:00
ttyslot
rcmd = cygwin_rcmd
rresvport = cygwin_rresvport
rexec = cygwin_rexec
socketpair
strsignal
strtosigno
ctermid
dlopen
dlclose
dlsym
dlerror
dlfork
sigpause
cygwin_attach_handle_to_fd
cygwin32_attach_handle_to_fd = cygwin_attach_handle_to_fd
cygwin_internal
cygwin32_internal = cygwin_internal
pthread_atfork
* configure.in: Remove PTH_ALLOW. * cygwin.din: Remove @PTH_ALLOW@ prefixes to pthread functions. Add new pthread exports. * pthread.cc: New wrapper functions for the above new exports. * sched.cc (valid_sched_parameters): New function. (sched_setparam): Use it. (sched_set_thread_priority): New function. Used by pthread_sched*. * thread.cc (pthread_key_destructor::InsertAfter): New function. (pthread_key_destructor::UnlinkNext): New function. (pthread_key_destructor::Next): New function. (pthread_key_destructor_list::Insert): New function. (pthread_key_destructor_list::Remove): New function. (pthread_key_destructor_list::Pop): New function. (pthread_key_destructor::pthread_key_destructor): New function. (pthread_key_destructor_list::IterateNull): New function. (MTinterface::Init): Initialise new member. (pthread::pthread): Initialise new members. (pthread::create): Copy new attributes. Set the new thread priority. (pthread_attr::pthread_attr): Initialise new members. (pthread_key::pthread_key): Setup destructor function. (pthread_key::~pthread_key): Remove destructor function. (pthread_mutexattr::pthread_mutexattr): New function. (pthread_mutexattr::~pthread_mutexattr): New function. (__pthread_once): New function. (__pthread_cleanup): New function. (__pthread_cancel): New function. (__pthread_setcancelstate): New function. (__pthread_setcanceltype): New function. (__pthread_testcancel): New function. (__pthread_attr_getinheritsched): New function. (__pthread_attr_getschedparam): New function. (__pthread_attr_getschedpolicy): New function. (__pthread_attr_getscope): New function. (__pthread_attr_setinheritsched): New function. (__pthread_attr_setschedparam): New function. (__pthread_attr_setschedpolicy): New function. (__pthread_attr_setscope): New function. (__pthread_exit): Call any key destructors on thread exit. (__pthread_join): Use the embedded attr values. (__pthread_detach): Use the embedded attr values. (__pthread_getconcurrency): New function. (__pthread_getschedparam): New function. (__pthread_key_create): Pass the destructor on object creation. (__pthread_key_delete): Correct incorrect prototype. (__pthread_setconcurrency): New function. (__pthread_setschedparam): New function. (__pthread_cond_timedwait): Support static mutex initialisers. (__pthread_cond_wait): Ditto. (__pthread_mutex_getprioceiling): New function. (__pthread_mutex_lock): Support static mutex initialisers. (__pthread_mutex_trylock): Ditto. (__pthread_mutex_unlock): Ditto. (__pthread_mutex_destroy): Ditto. (__pthread_mutex_setprioceiling): New function. (__pthread_mutexattr_getprotocol): New function. (__pthread_mutexattr_getpshared): New function. (__pthread_mutexattr_gettype): New function. (__pthread_mutexattr_init): New function. (__pthread_mutexattr_destroy): New function. (__pthread_mutexattr_setprotocol): New function. (__pthread_mutexattr_setprioceiling): New function. (__pthread_mutexattr_getprioceiling): New function. (__pthread_mutexattr_setpshared): New function. (__pthread_mutexattr_settype): New function. Remove stubs for non MT_SAFE compilation. * thread.h: Remove duplicate #defines. Add prototypes for new functions in thread.cc. (pthread_key_destructor): New class. (pthread_key_destructor_list): New class. (pthread_attr): Add new members. (pthread): Remove members that are duplicated in the pthread_attr class. (pthread_mutex_attr): Add new members. (pthread_once): New class. * include/pthread.h: Add prototypes for new functions exported from cygwin1.dll. Remove typedefs. * include/sched.h: Add prototypes for new functions in sched.cc. * include/cygwin/types.h: Add typedefs from pthread.h
2001-04-12 12:04:53 +08:00
pthread_attr_destroy
pthread_attr_getdetachstate
pthread_attr_getinheritsched
pthread_attr_getschedparam
pthread_attr_getschedpolicy
pthread_attr_getscope
pthread_attr_getstacksize
pthread_attr_init
pthread_attr_setdetachstate
pthread_attr_setinheritsched
pthread_attr_setschedparam
pthread_attr_setschedpolicy
pthread_attr_setscope
pthread_attr_setstacksize
pthread_cancel
_pthread_cleanup_push
_pthread_cleanup_pop
* configure.in: Remove PTH_ALLOW. * cygwin.din: Remove @PTH_ALLOW@ prefixes to pthread functions. Add new pthread exports. * pthread.cc: New wrapper functions for the above new exports. * sched.cc (valid_sched_parameters): New function. (sched_setparam): Use it. (sched_set_thread_priority): New function. Used by pthread_sched*. * thread.cc (pthread_key_destructor::InsertAfter): New function. (pthread_key_destructor::UnlinkNext): New function. (pthread_key_destructor::Next): New function. (pthread_key_destructor_list::Insert): New function. (pthread_key_destructor_list::Remove): New function. (pthread_key_destructor_list::Pop): New function. (pthread_key_destructor::pthread_key_destructor): New function. (pthread_key_destructor_list::IterateNull): New function. (MTinterface::Init): Initialise new member. (pthread::pthread): Initialise new members. (pthread::create): Copy new attributes. Set the new thread priority. (pthread_attr::pthread_attr): Initialise new members. (pthread_key::pthread_key): Setup destructor function. (pthread_key::~pthread_key): Remove destructor function. (pthread_mutexattr::pthread_mutexattr): New function. (pthread_mutexattr::~pthread_mutexattr): New function. (__pthread_once): New function. (__pthread_cleanup): New function. (__pthread_cancel): New function. (__pthread_setcancelstate): New function. (__pthread_setcanceltype): New function. (__pthread_testcancel): New function. (__pthread_attr_getinheritsched): New function. (__pthread_attr_getschedparam): New function. (__pthread_attr_getschedpolicy): New function. (__pthread_attr_getscope): New function. (__pthread_attr_setinheritsched): New function. (__pthread_attr_setschedparam): New function. (__pthread_attr_setschedpolicy): New function. (__pthread_attr_setscope): New function. (__pthread_exit): Call any key destructors on thread exit. (__pthread_join): Use the embedded attr values. (__pthread_detach): Use the embedded attr values. (__pthread_getconcurrency): New function. (__pthread_getschedparam): New function. (__pthread_key_create): Pass the destructor on object creation. (__pthread_key_delete): Correct incorrect prototype. (__pthread_setconcurrency): New function. (__pthread_setschedparam): New function. (__pthread_cond_timedwait): Support static mutex initialisers. (__pthread_cond_wait): Ditto. (__pthread_mutex_getprioceiling): New function. (__pthread_mutex_lock): Support static mutex initialisers. (__pthread_mutex_trylock): Ditto. (__pthread_mutex_unlock): Ditto. (__pthread_mutex_destroy): Ditto. (__pthread_mutex_setprioceiling): New function. (__pthread_mutexattr_getprotocol): New function. (__pthread_mutexattr_getpshared): New function. (__pthread_mutexattr_gettype): New function. (__pthread_mutexattr_init): New function. (__pthread_mutexattr_destroy): New function. (__pthread_mutexattr_setprotocol): New function. (__pthread_mutexattr_setprioceiling): New function. (__pthread_mutexattr_getprioceiling): New function. (__pthread_mutexattr_setpshared): New function. (__pthread_mutexattr_settype): New function. Remove stubs for non MT_SAFE compilation. * thread.h: Remove duplicate #defines. Add prototypes for new functions in thread.cc. (pthread_key_destructor): New class. (pthread_key_destructor_list): New class. (pthread_attr): Add new members. (pthread): Remove members that are duplicated in the pthread_attr class. (pthread_mutex_attr): Add new members. (pthread_once): New class. * include/pthread.h: Add prototypes for new functions exported from cygwin1.dll. Remove typedefs. * include/sched.h: Add prototypes for new functions in sched.cc. * include/cygwin/types.h: Add typedefs from pthread.h
2001-04-12 12:04:53 +08:00
pthread_cond_broadcast
pthread_cond_destroy
pthread_cond_init
pthread_cond_signal
pthread_cond_timedwait
pthread_cond_wait
pthread_condattr_destroy
pthread_condattr_getpshared
pthread_condattr_init
pthread_condattr_setpshared
pthread_create
pthread_detach
pthread_equal
pthread_exit
pthread_getconcurrency
pthread_getschedparam
pthread_getsequence_np
* configure.in: Remove PTH_ALLOW. * cygwin.din: Remove @PTH_ALLOW@ prefixes to pthread functions. Add new pthread exports. * pthread.cc: New wrapper functions for the above new exports. * sched.cc (valid_sched_parameters): New function. (sched_setparam): Use it. (sched_set_thread_priority): New function. Used by pthread_sched*. * thread.cc (pthread_key_destructor::InsertAfter): New function. (pthread_key_destructor::UnlinkNext): New function. (pthread_key_destructor::Next): New function. (pthread_key_destructor_list::Insert): New function. (pthread_key_destructor_list::Remove): New function. (pthread_key_destructor_list::Pop): New function. (pthread_key_destructor::pthread_key_destructor): New function. (pthread_key_destructor_list::IterateNull): New function. (MTinterface::Init): Initialise new member. (pthread::pthread): Initialise new members. (pthread::create): Copy new attributes. Set the new thread priority. (pthread_attr::pthread_attr): Initialise new members. (pthread_key::pthread_key): Setup destructor function. (pthread_key::~pthread_key): Remove destructor function. (pthread_mutexattr::pthread_mutexattr): New function. (pthread_mutexattr::~pthread_mutexattr): New function. (__pthread_once): New function. (__pthread_cleanup): New function. (__pthread_cancel): New function. (__pthread_setcancelstate): New function. (__pthread_setcanceltype): New function. (__pthread_testcancel): New function. (__pthread_attr_getinheritsched): New function. (__pthread_attr_getschedparam): New function. (__pthread_attr_getschedpolicy): New function. (__pthread_attr_getscope): New function. (__pthread_attr_setinheritsched): New function. (__pthread_attr_setschedparam): New function. (__pthread_attr_setschedpolicy): New function. (__pthread_attr_setscope): New function. (__pthread_exit): Call any key destructors on thread exit. (__pthread_join): Use the embedded attr values. (__pthread_detach): Use the embedded attr values. (__pthread_getconcurrency): New function. (__pthread_getschedparam): New function. (__pthread_key_create): Pass the destructor on object creation. (__pthread_key_delete): Correct incorrect prototype. (__pthread_setconcurrency): New function. (__pthread_setschedparam): New function. (__pthread_cond_timedwait): Support static mutex initialisers. (__pthread_cond_wait): Ditto. (__pthread_mutex_getprioceiling): New function. (__pthread_mutex_lock): Support static mutex initialisers. (__pthread_mutex_trylock): Ditto. (__pthread_mutex_unlock): Ditto. (__pthread_mutex_destroy): Ditto. (__pthread_mutex_setprioceiling): New function. (__pthread_mutexattr_getprotocol): New function. (__pthread_mutexattr_getpshared): New function. (__pthread_mutexattr_gettype): New function. (__pthread_mutexattr_init): New function. (__pthread_mutexattr_destroy): New function. (__pthread_mutexattr_setprotocol): New function. (__pthread_mutexattr_setprioceiling): New function. (__pthread_mutexattr_getprioceiling): New function. (__pthread_mutexattr_setpshared): New function. (__pthread_mutexattr_settype): New function. Remove stubs for non MT_SAFE compilation. * thread.h: Remove duplicate #defines. Add prototypes for new functions in thread.cc. (pthread_key_destructor): New class. (pthread_key_destructor_list): New class. (pthread_attr): Add new members. (pthread): Remove members that are duplicated in the pthread_attr class. (pthread_mutex_attr): Add new members. (pthread_once): New class. * include/pthread.h: Add prototypes for new functions exported from cygwin1.dll. Remove typedefs. * include/sched.h: Add prototypes for new functions in sched.cc. * include/cygwin/types.h: Add typedefs from pthread.h
2001-04-12 12:04:53 +08:00
pthread_getspecific
pthread_join
pthread_key_create
pthread_key_delete
pthread_mutex_destroy
pthread_mutex_getprioceiling
pthread_mutex_init
pthread_mutex_lock
pthread_mutex_setprioceiling
pthread_mutex_trylock
pthread_mutex_unlock
pthread_mutexattr_destroy
pthread_mutexattr_getprioceiling
pthread_mutexattr_getprotocol
pthread_mutexattr_getpshared
pthread_mutexattr_gettype
pthread_mutexattr_init
pthread_mutexattr_setprioceiling
pthread_mutexattr_setprotocol
pthread_mutexattr_setpshared
pthread_mutexattr_settype
pthread_once
pthread_self
pthread_setcancelstate
pthread_setcanceltype
pthread_setconcurrency
pthread_setschedparam
pthread_setspecific
pthread_testcancel
pthread_suspend
pthread_continue
pthread_kill
pthread_sigmask
sem_init
sem_destroy
sem_wait
sem_trywait
sem_post
2001-03-27 06:17:06 +08:00
sched_get_priority_max
sched_get_priority_min
sched_getparam
sched_getscheduler
sched_rr_get_interval
sched_setparam
sched_setscheduler
sched_yield
2000-02-18 03:38:33 +08:00
acl
_acl = acl
facl
_facl = facl
lacl
_lacl = lacl
2000-02-18 03:38:33 +08:00
aclcheck
_aclcheck = aclcheck
aclsort
_aclsort = aclsort
acltomode
_acltomode = acltomode
aclfrommode
_aclfrommode = aclfrommode
acltopbits
_acltopbits = acltopbits
aclfrompbits
_aclfrompbits = aclfrompbits
acltotext
_acltotext = acltotext
aclfromtext
_aclfromtext = aclfromtext
setprotoent = cygwin_setprotoent
setservent = cygwin_setservent
getservent = cygwin_getservent
getprotoent = cygwin_getprotoent
endprotoent = cygwin_endprotoent
endservent = cygwin_endservent