summaryrefslogtreecommitdiffstats
path: root/newlib/libc/include/sys
Commit message (Collapse)AuthorAgeFilesLines
* * Makefile.am (LIB_OBJECTLISTS): AddThomas Fitzsimmons2002-06-204-1/+609
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | libc/search/objectlist.awk.in. * libc/Makefile.am (SUBDIRS): Add search. (SUBLIBS): Add search/libsearch.la. * libc/configure.in (AC_OUTPUT): Add search/Makefile. * libc/search: New directory. * libc/search/Makefile.am: New file. * libc/search/extern.h: New file. * libc/search/hash.c: New file. * libc/search/hash.h: New file. * libc/search/hash_bigkey.c: New file. * libc/search/hash_buf.c: New file. * libc/search/hash_func.c: New file. * libc/search/hash_log2.c: New file. * libc/search/hash_page.c: New file. * libc/search/hcreate.3: New file. * libc/search/hcreate.c: New file. * libc/search/hcreate.c~: New file. * libc/search/hcreate_r.c: New file. * libc/search/ndbm.c: New file. * libc/search/page.h: New file. * libc/search/tdelete.c: New file. * libc/search/tdestroy.c: New file. * libc/search/tfind.c: New file. * libc/search/tsearch.3: New file. * libc/search/tsearch.c: New file. * libc/search/twalk.c: New file. * libc/include/db.h: New file. * libc/include/ndbm.h: New file. * libc/include/search.h: New file. * libc/include/sys/queue.h: New file. * libc/include/sys/cdefs.h: New file. * libc/include/sys/param.h [__IEEE_LITTLE_ENDIAN,__IEEE_BIG_ENDIAN]: Set BYTE_ORDER to LITTLE_ENDIAN or BIG_ENDIAN. * libc/include/sys/errno.h (EFTYPE): New macro. * libc/search/bsearch.c: Move from libc/stdlib. * libc/search/qsort.c: Likewise. * libc/stdlib/Makefile.am (LIB_SOURCES): Remove bsearch.c and qsort.c. (CHEWOUT_FILES): Remove bsearch.def and qsort.def. * libc/stdlib/stdlib.tex: Remove references to bsearch and qsort.
* 2002-06-18 Dave Brolley <brolley@redhat.com>Dave Brolley2002-06-181-0/+4
| | | | | | | | | | | | | From Catherine Moore, Michael Meissner, Richard Sandiford: * libc/include/machine/setjmp.h (_JBLEN): Define for __frv__. (_JBTYPE): Ditto. * libc/include/sys/config.h (__IEEE_BIG_ENDIAN): Ditto. (__ATTRIBUTE_IMPURE_PTR__): Ditto. * libc/include/machine/ieeefp.h (__IEEE_BIG_ENDIAN): Ditto. * configure.host: Support frv-*-*. * libc/machine/frv/Makefile.am: New file. * libc/machine/frv/configure.in: New file. * libc/machine/frv/setjmp.S: New file.
* 2002-06-05 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2002-06-052-2/+33
| | | | | | | | | | | | | | | | | | | | | | | | * libc/include/string.h[__linux__]: Add strsignal prototype. * libc/include/sys/lock.h: New file with default locking support. * libc/include/sys/reent.h: Add signal buffer support for strsignal and psignal. * libc/posix/Makefile.am: Add support for readdir_r.c. * libc/posix/Makefile.in: Regenerated. * libc/posix/closedir.c: Add locking support and hash table cleanup. * libc/posix/opendir.c: Add lock support. * libc/posix/readdir.c: Ditto. * libc/posix/rewinddir.c: Ditto. * libc/posix/scandir.c: Ditto. * libc/posix/seekdir.c: Ditto. * libc/posix/telldir.c: Ditto plus add _cleanupdir routine to clean up leftover hash table entries. * libc/posix/readdir_r.c: New file. * libc/sys/linux/Makefile.am: Add psignal.c and strsignal.c support. * libc/sys/linux/Makefile.in: Regenerated. * libc/sys/linux/sys/dirent.h: Add dd_lock to DIR structure. * libc/sys/linux/sys/signal.h: Add psignal prototype. * libc/sys/linux/psignal.c: New file. * libc/sys/linux/strsignal.c: Ditto.
* * libc/include/sys/types.h: Don't define dev_t when compiling forCorinna Vinschen2002-06-031-0/+2
| | | | Cygwin.
* * libc/include/sys/types.h: Revert previous patch.Corinna Vinschen2002-05-221-2/+1
|
* * libc/include/sys/types.h: Include cygwin/types.h always underCorinna Vinschen2002-05-221-1/+2
| | | | Cygwin, not only if _POSIX_THREADS is defined.
* 2002-05-17 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2002-05-172-1/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Makefile.am: Copy and install headers from sys/machine/include directory. Also pass $toollibdir to lower-level directories. * Makefile.in: Regenerated. * libc/include/stdio.h[!_REENT_ONLY]: Change stdin, stdout, and stderr to use _REENT macro instead of _impure_ptr directly. * libc/include/sys/config.h[__i386__][__linux__]: Define __DYNAMIC_REENT__. * libc/include/sys/reent.h[!_REENT_ONLY]: Change _REENT macro to be call to __getreent() function if !__SINGLE_THREAD__ and __DYNAMIC_REENT__ is set. * libc/reent/Makefile.am: Add support for getreent.c. * libc/reent/Makefile.in: Regenerated. * libc/string/strerror.c: Add check if EOPNOTSUPP and ENOTSUP are same. * libc/sys/linux/Makefile.am: Add support for new files. * libc/sys/linux/configure.in: Add $EXTRA_DIRS variable. * libc/sys/linux/Makefile.in: Regenerated. * libc/sys/linux/configure: Ditto. * libc/sys/linux/io.c: Add poll syscall. Also weak-alias __close, __read, __write, __poll, __open, __lseek, __fcntl from their __libc_ counterparts. * libc/sys/linux/io64.c: Add __libc_ prefix to lseek64 and open64 and weak-alias to regular names. * libc/sys/linux/pread64.c: Rename to __libc_pread64 and weak-alias to pread64 and __pread64. * libc/sys/linux/process.c: Weak_alias __libc_getpid to __getpid. * libc/sys/linux/pwrite64.c: Rename to __libc_pwrite64 and weak-alias to pwrite64. * libc/sys/linux/sched.c: Weak-alias __libc_sched_getparam, __libc_sched_getscheduler, __libc_sched_get_priority_max, __libc_sched_get_priority_min, and __libc_sched_setschedule to name with __ instead of __libc_. * libc/sys/linux/siglongjmp.c: Include <machine/weakalias.h>. Rename siglongjmp to __libc_siglongjmp and weak-alias to siglongjmp. Call __libc_longjmp instead of longjmp, from __libc_siglongjmp. * libc/sys/linux/signal.c: Rename raise to __libc_raise and weak-alias to raise. * libc/sys/linux/socket.c: Weak-alias __libc_connect to __connect and __libc_send to __send. * libc/sys/linux/time.c: Weak-alias __libc_gettimeofday to __gettimeofday. * libc/sys/linux/wait.c: Rename wait to __libc_wait and weak-alias it to wait. Rename wait3 to __libc_wait3 and weak-alias it to wait3. * libc/sys/linux/include/setjmp.h: Use __jmp_buf in sigjmp_buf type and typedef __jmp_buf to jmp_buf. * libc/sys/linux/machine/i386/Makefile.am: Add syscalls.c and setjmp.S. * libc/sys/linux/machine/i386/Makefile.in: Regenerated. * libc/sys/linux/machine/i386/crt0.c: Add support to clear .bss section. * libc/sys/linux/machine/i386/socketcall.h: Change to use __libc_ prefix for function macros and then use weak_alias() to regular names. * libc/sys/linux/machine/i386/syscall.h: Ditto. * libc/sys/linux/sys/errno.h: Define EOPNOTSUP to be ENOTSUP. * libc/sys/linux/sys/stdio.h: Define _flockfile and _funlockfile to be flockfile() and funlockfile() respectively. * libc/sys/linux/sys/types.h * libc/reent/getreent.c: New file. * libc/sys/linux/flockfile.c: Ditto. * libc/sys/linux/funlockfile.c: Ditto. * libc/sys/linux/getreent.c: Ditto. * libc/sys/linux/pread.c: Ditto. * libc/sys/linux/pwrite.c: Ditto. * libc/sys/linux/raise.c: Ditto. * libc/sys/linux/system.c: Ditto. * libc/sys/linux/tcdrain.c: Ditto. * libc/sys/linux/machine/i386/i386mach.h: Ditto. * libc/sys/linux/machine/i386/setjmp.S: Ditto. * libc/sys/linux/machine/i386/syscalls.c: Ditto. * libc/sys/linux/machine/i386/weakalias.h: Ditto. * libc/sys/linux/machine/i386/include/setjmp.h: Ditto.
* 2002-05-15 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2002-05-151-6/+29
| | | | | | | | | | | | | | | | | * libc/include/stdlib.h: Add on_exit prototype. * libc/include/sys/reent.h (struct _atexit): Add argument array and bits to track type of exit routine to support both on_exit and atexit. (_REENT_INIT_PTR): Add missing fields that won't be zeroed out by default and change the setting of the atexit structure. (_REENT_INIT)[!_REENT_SMALL]: Remove extraneous end brace. * libc/stdlib/on_exit.c: New file. * libc/stdlib/Makefile.am: Add support for on_exit. * libc/stdlib/Makefile.in: Regenerated. * libc/stdlib/atexit.c: Change to initialize types field. * libc/stdlib/exit.c: Change to look at types field for each exit routine and either call an atexit-style or an on_exit-style routine accordingly.
* * libc/include/sys/stdio.h: New file.Thomas Fitzsimmons2002-05-081-0/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | * libc/sys/linux/sys/stdio.h: New file. * libc/include/stdio.h: Add declarations for flockfile, ftrylockfile, and funlockfile. Include <sys/stdio.h>. * libc/stdio/clearerr.c: Add file locking. * libc/stdio/fclose.c: Likewise. * libc/stdio/feof.c: Likewise. * libc/stdio/ferror.c: Likewise. * libc/stdio/fflush.c: Likewise. * libc/stdio/fgetc.c: Likewise. * libc/stdio/fgetpos.c: Likewise. * libc/stdio/fgets.c: Likewise. * libc/stdio/fileno.c: Likewise. * libc/stdio/fputc.c: Likewise. * libc/stdio/fputs.c: Likewise. * libc/stdio/fread.c: Likewise. * libc/stdio/freopen.c: Likewise. * libc/stdio/fseek.c: Likewise. * libc/stdio/ftell.c: Likewise. * libc/stdio/fwrite.c: Likewise. * libc/stdio/getc.c: Likewise. * libc/stdio/putc.c: Likewise. * libc/stdio/setvbuf.c: Likewise. * libc/stdio/ungetc.c: Likewise. * libc/stdio/vfprintf.c: Likewise.
* 2002-05-06 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2002-05-061-1/+7
| | | | | | | | | * libc/include/sys/reent.h (_l64a_buf): New reentrant area. (_REENT_L64A_BUF): New macro for accessing area. * libc/stdlib/Makefile.am: Add a64l.c and l64a.c. * libc/stdlib/Makefile.in: Regenerated. * libc/stdlib/a64l.c: New file. * libc/stdlib/l64a.c: New file.
* * libc/include/sys/unistd.h: Define getdomainname under cygwin.Christopher Faylor2002-05-041-0/+3
|
* 2002-04-29 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2002-04-291-0/+2
| | | | | | | | | | | | * libc/include/sys/unistd.h (pread, pwrite): Added prototypes. * libc/unix/Makefile.am: Add pread.c and pwrite.c. * libc/sys/linux/Makefile.am: Add pread64.c and pwrite64.c. * libc/sys/linux/Makefile.in: Regenerated. * libc/unix/Makefile.in: Ditto. * libc/sys/linux/pread64.c: New file. * libc/sys/linux/pwrite64.c: Ditto. * libc/unix/pread.c: Ditto. * libc/unix/pwrite.c: Ditto.
* 2002-04-19 Alexandre Oliva <aoliva@redhat.com>Jeff Johnston2002-04-191-5/+30
| | | | | | * libc/include/sys/config.h: Remove include of <limits.h>. (__INT_MAX__, __LONG_MAX__): Define like GCC's limits.h would define INT_MAX and LONG_MAX. Use them in tests.
* * libc/include/sys/config.h: Include limits.h.Alexandre Oliva2002-04-131-0/+2
|
* Fix typo.Tom Rix2002-04-091-1/+1
|
* 2002-04-04 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2002-04-041-0/+5
| | | | | | | | | | | | | | | * Makefile.am: Add support for installing crt1.o if one exists. * configure.host: Specify crt1.o for linux. * configure.in: Expose CRT1 and CRT1_DIR for Makefile.am to use. * Makefile.in: Regenerated. * configure: Ditto. * libc/include/sys/unistd.h (_SC_STREAM_MAX, _SC_PRIORITY_SCHEDULING): Added for non-Cygwin, non-RTEMS configurations. * libc/sys/linux/Makefile.am: Add support for crt1 and sysconf. * libc/sys/linux/Makefile.in: Regenerated. * libc/sys/linux/crt1.c: New empty file to override one defaulted by gcc. This fixes problem with reconfiguring linux newlib build. * libc/sys/linux/sysconf.c: New file.
* 2002-04-01 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2002-04-011-4/+108
| | | | | | | | | | | | | | | | | | | | | | | * libc/include/sys/reent.h (_REENT_INIT_PTR): New macro for initializing a struct _reent that has been dynamically allocated. (_REENT_CHECK_MISC): New macro that checks _misc struct for _REENT_SMALL and does nothing otherwise. (_REENT_STRTOK_LAST): New macro for reentrant strtok. (_REENT_MBLEN_STATE): New macro for reentrant mblen. (_REENT_MBTOWC_STATE): New macro for reentrant mbtowc. (_REENT_WCTOMB_STATE): New macro for reentrant wctomb. [_REENT_SMALL](struct _misc_reent): New structure containing miscellaneous reentrant areas needed by newlib. [_REENT_SMALL](struct _reent): Add _misc pointer. [_REENT_SMALL](_REENT_INIT_MISC): New macro. * libc/string/strtok (strtok): Change to use _REENT_CHECK_MISC and _REENT_STRTOK_LAST macros. * libc/stdlib/mblen (mblen): Change to use _REENT_CHECK_MISC and _REENT_MBLEN_STATE macros. * libc/stdlib/mbtowc (mbtowc): Change to use _REENT_CHECK_MISC and _REENT_MBTOWC_STATE macros. * libc/stdlib/wctomb (wctomb): Change to use _REENT_CHECK_MISC and _REENT_WCTOMB_STATE macros.
* * libc/include/sys/features.h (_POSIX_SEMAPHORES): New Cygwin define.Christopher Faylor2002-03-281-0/+1
|
* 2002-02-25 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2002-02-251-2/+2
| | | | | * libc/include/sys/config.h: Add __extension__ in front of long long references.
* * libc/include/sys/stat.h (_fstat): Don't declare when compiling Cygwin.Corinna Vinschen2002-02-231-0/+2
| | | | (_stat): Ditto.
* 2002-02-15 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2002-02-151-0/+11
| | | | | * libc/include/sys/config.h: Add definitions for __int16_t, __uint16_t, __int64_t, and __uint64_t.
* * libc/include/grp.h: Include Cygwin specific header.Corinna Vinschen2002-02-092-1/+8
| | | | | | | * libc/include/sys/stat.h: Ditto. Don't define `struct stat' when compiling for Cygwin. * libc/include/sys/types.h: Don't define off_t, uid_t and gid_t when compiling for Cygwin.
* * libc/include/sys/reent.h (_REENT_CHECK_EMERGENCY): AllocateMatthew Green2002-02-091-1/+1
| | | | _REENT_EMERGENCY_SIZE, not sizeof(char *).
* 2002-02-04 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2002-02-041-0/+1
| | | | | * libc/include/sys/reent.h [(!_REENT_SMALL]: Add _REENT_CHECK_EMERGENCY macro.
* * implement a new `struct _reent' that is significantly smaller. use thisMatthew Green2002-02-032-8/+205
| | | | if _REENT_SMALL is defined in config.h. define this for xstormy16.
* * libc/include/sys/signal.h [__CYGWIN__]: Issue error messageThomas Fitzsimmons2002-01-281-0/+5
| | | | when _CYGWIN_TYPES_H is not defined.
* * libc/include/sys/signal.h: Revert 2002-01-23 change.Thomas Fitzsimmons2002-01-251-1/+1
|
* * libc/include/sys/signal.h: Remove pthread_kill declarationThomas Fitzsimmons2002-01-241-1/+1
| | | | when __CYGWIN__ is defined.
* 2002-01-07 Alan Matsuoka <alanm@redhat.com>Jeff Johnston2002-01-071-0/+2
| | | | | | * libc/include/machine/ieeefp.h: Configure d10v doubles to be 32 bits if __DOUBLE__ == 32 otherwise doubles are 64 bits. libc/include/sys/config.h: Ditto.
* In newlib/:Geoffrey Keating2001-12-221-0/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-12-22 Geoffrey Keating <geoffk@redhat.com> Catherine Moore <clm@redhat.com> Richard Henderson <rth@redhat.com> Corinna Vinschen <vinschen@redhat.com> * configure.host: Add support for xstormy16. * libc/include/machine/ieeefp.h: Add support for xstormy16. * libc/include/machine/setjmp.h: Add support for xstormy16. * libc/include/sys/config.h: Add support for xstormy16. * libc/machine/xstormy16/Makefile.am: New file. * libc/machine/xstormy16/Makefile.in: New file. * libc/machine/xstormy16/aclocal.m4: New file. * libc/machine/xstormy16/configure: New file. * libc/machine/xstormy16/configure.in: New file. * libc/machine/xstormy16/setjmp.S: New file. In libgloss/: 2001-12-22 Geoffrey Keating <geoffk@redhat.com> Mark Salter <msalter@redhat.com> Catherine Moore <clm@redhat.com> Richard Henderson <rth@redhat.com> * configure.in: Add xstormy16. * libnosys/configure.in: Add xstormy16. * configure: Regenerated. * libnosys/configure: Regenerated. * xstormy16/Makefile.in: New file. * xstormy16/close.c: New file. * xstormy16/configure: New file. * xstormy16/configure.in: New file. * xstormy16/crt0.s: New file. * xstormy16/crt0_stub.s: New file. * xstormy16/crti.s: New file. * xstormy16/crtn.s: New file. * xstormy16/eva_app.c: New file. * xstormy16/eva_app.ld: New file. * xstormy16/eva_stub.ld: New file. * xstormy16/fstat.c: New file. * xstormy16/getpid.c: New file. * xstormy16/kill.c: New file. * xstormy16/lseek.c: New file. * xstormy16/open.c: New file. * xstormy16/sbrk.c: New file. * xstormy16/sim_high.ld: New file. * xstormy16/stat.c: New file. * xstormy16/syscalls.S: New file. * xstormy16/syscalls.m4: New file. * xstormy16/unlink.c: New file. * xstormy16/xstormy16_stub.c: New file.
* 2001-12-18 Thomas Fitzsimmons <fitzsim@redhat.com>Thomas Fitzsimmons2001-12-191-2/+2
| | | | | | | | | | | | | * libc/machine/i386/f_*: Move to libm/machine/i386. 2001-12-18 Joel Sherrill <joel@OARcorp.com> * libm/machine/Makefile.am: Add dummy doc stub so "make info" works. 2001-12-17 Joel Sherrill <joel@OARcorp.com> * libc/include/sys/types.h (ino_t): RTEMS uses long also.
* * libc/include/sys/unistd.h: Correct ualarm declaration.Christopher Faylor2001-12-061-1/+1
|
* * libc/include/sys/types.h: Define useconds_t.Christopher Faylor2001-11-282-0/+5
| | | | * libc/include/sys/ulimit.h: Declare ualarm.
* 2001-11-12 Hans-Peter Nilsson <hp@bitrange.com>Jeff Johnston2001-11-121-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | * libc/include/machine/ieeefp.h: Add support for mmix target. * libc/include/machine/setjmp.h: Ditto. * configure.host: Ditto. * libc/sys/mmixware/Makefile.am, libc/sys/mmixware/_exit.c, libc/sys/mmixware/access.c, libc/sys/mmixware/aclocal.m4, libc/sys/mmixware/chmod.c, libc/sys/mmixware/chown.c, libc/sys/mmixware/close.c, libc/sys/mmixware/configure.in, libc/sys/mmixware/creat.c, libc/sys/mmixware/crt0.c, libc/sys/mmixware/execv.c, libc/sys/mmixware/execve.c, libc/sys/mmixware/fork.c, libc/sys/mmixware/fstat.c, libc/sys/mmixware/getpid.c, libc/sys/mmixware/gettime.c, libc/sys/mmixware/isatty.c, libc/sys/mmixware/kill.c, libc/sys/mmixware/lseek.c, libc/sys/mmixware/open.c, libc/sys/mmixware/pipe.c, libc/sys/mmixware/read.c, libc/sys/mmixware/sbrk.c, libc/sys/mmixware/setjmp.S, libc/sys/mmixware/stat.c, libc/sys/mmixware/sys/syscall.h, libc/sys/mmixware/time.c, libc/sys/mmixware/times.c, libc/sys/mmixware/unlink.c, libc/sys/mmixware/utime.c, libc/sys/mmixware/wait.c, libc/sys/mmixware/write.c: New files. * libc/sys/mmixware/configure, libc/sys/mmixware/Makefile.in, libc/sys/mmixware/aclocal.m4: Generate.
* * libc/include/sys/unistd.h: Add prototypes for endusershell(),Corinna Vinschen2001-11-051-0/+14
| | | | | | | getusershell(), iruserok(), revoke(), ruserok() and setusershell() when __CYGWIN__ is defined. * libc/sys/cygwin/sys/utmp.h: Add prototypes for login_tty() and logwtmp().
* * libc/posix/execvp.c: Remove obsolete CYGWIN32 considerations throughout.Christopher Faylor2001-10-221-1/+1
| | | | | | * signal.h: Change comment to reflect __CYGWIN__ rather than __CYGWIN32__. * popen.c (popen): Use __CYGWIN_ rather than __CYGWIN32__. * system.c (_system_r): Ditto.
* Add __rtems__ as system defining fchdir().Corinna Vinschen2001-10-171-1/+1
|
* * libc/include/sys/unistd.h: Add prototype for fchdir() whenCorinna Vinschen2001-10-171-0/+3
| | | | __CYGWIN__ is defined.
* 2001-08-29 Joel Sherrill <joel@OARcorp.com>Jeff Johnston2001-08-291-1/+1
| | | | | | | | | | | | | | | | | * libc/include/sys/unistd.h: Prototype chroot() for RTEMS. 2001-08-29 Ralf Corsepius <corsepiu@faw.uni-ulm.de> * libc/machine/i386/f_atan2.S, libc/machine/i386/f_atan2f.S, libc/machine/i386/f_exp.c, libc/machine/i386/f_expf.c, libc/machine/i386/f_frexp.S, libc/machine/i386/f_frexpf.S, libc/machine/i386/f_ldexp.S, libc/machine/i386/f_ldexpf.S, libc/machine/i386/f_log.S, libc/machine/i386/f_log10.S, libc/machine/i386/f_log10f.S, libc/machine/i386/f_logf.S, libc/machine/i386/f_pow.c, libc/machine/i386/f_powf.c, libc/machine/i386/f_tan.S, libc/machine/i386/f_tanf.S: Add conditional compilation to avoid HW FPU instructions when compiled for soft-float.
* 2001-08-29 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2001-08-293-5/+22
| | | | | | | | | | | | | * libc/include/sys/reent.h: Add include of <sys/_types.h>. No longer include time.h. Add struct __tm to use for _localtime_buf in the reentrant structure. Add a _NULL definition to use in initializing the reentrant struct. * libc/include/sys/config.h: For CYGWIN32 and RTEMS, change the _READ_WRITE_RETURN_TYPE to _ssize_t which is found in <sys/_types.h>. * libc/include/sys/unistd.h: Include <sys/_types.h>. * libc/time/lcltime.c (localtime): Cast the reentrant struct _localtime_buf to be struct tm *.
* * libc/include/sys/errno.h: Add a cautionary comment.Christopher Faylor2001-08-261-0/+2
|
* * libc/include/machine/setjmp.h: Protect sigsetjmp/siglongjmp macro arguments.Christopher Faylor2001-08-141-0/+4
| | | | * libc/include/sys/errno.h: Declare sys_errlist and sys_nerr, under Cygwin.
* * libc/include/sys/stat.h: Revert March 3, Cygwin change.Christopher Faylor2001-05-082-20/+1
| | | | * libc/include/sys/Ditto.h: Ditto.
* * libc/include/sys/unistd.h [X_OK]: Use better protection against Cygwin X_OKChristopher Faylor2001-04-221-6/+7
| | | | definitions in sys/file.h.
* * libc/include/sys/time.h: Define timercmp and other macros for __CYGWIN__,Christopher Faylor2001-04-211-2/+2
| | | | too.
* * libc/include/sys/unistd.h: Add pthread_atfork (Cygwin only).Christopher Faylor2001-04-131-0/+3
|
* * libc/include/sys/errno.h: Add ECASECLASH to indicate case clashCorinna Vinschen2001-04-121-0/+1
| | | | on case insensitve file systems.
* * libc/include/sys/features.h: Add appropriate defines for Cygwin pthreadChristopher Faylor2001-04-123-4/+20
| | | | | | | support. * libc/include/sys/signal.h: Remove unneeded __CYGWIN__ protection. * libc/include/sys/types.h: Protect __CYGWIN__ from the rtems pthreads types. Include <cygwin/types.h> for the cygwin specific typedefs.
* * libc/include/sys/types.h (BSD int typedefs): Guard with _BSDTYPES_DEFINEDChristopher Faylor2001-03-202-9/+16
| | | | | | | rather than _WINSOCK_H. (fd_set): Add !defined __USE_W32_SOCKETS to guard; define _SYS_TYPES_FD_SET. * libc/include/sys/unistd.h (gethostname): Don't declare if defined (_WINSOCK_H) || defined (__USE_W32_SOCKETS).
* * libc/include/sys/unistd.h: Add _PC_POSIX_PERMISSONS andCorinna Vinschen2001-03-191-0/+6
| | | | _PC_POSIX_SECURITY constants for Cygwin.