Commit Graph

174 Commits

Author SHA1 Message Date
Jeff Johnston 6ba54a1544 2000-12-04 Joel Sherrill <joel@OARcorp.com>
* libc/include/sys/times.h: Add reference to POSIX standard.
2000-12-04 18:47:07 +00:00
Jeff Johnston 8677b81966 2000-12-04 Joel Sherrill <joel@OARcorp.com>
* libc/include/sys/time.h: Added BSD timer manipulation macros
        used by RTEMS code.
2000-12-04 18:40:53 +00:00
Jeff Johnston 7713fb6f1b 2000-12-04 Keith Outwater <vac4050@cae597.rsc.raytheon.com>
* libc/include/sys/errno.h: Added comments on many error numbers.
        * libc/string/strerror.c: Added some more strings.
2000-12-04 18:01:50 +00:00
Corinna Vinschen cbbf0f9645 * libc/include/sys/types.h: Change i to `__i' in FD_ZERO macro to
avoid compiler warnings.
2000-11-25 10:25:51 +00:00
Jeff Johnston 5478bf376f 2000-11-20 Jeff Johnston <jjohnstn@redhat.com>
* libc/include/sys/unistd.h: Removed definition of MAXNAMLEN.
        * libc/include/dirent.h: Added definition of MAXNAMLEN if
        not defined by sys/dirent.h.
        * libc/posix/execvp.c: Added include of dirent.h to get
        MAXNAMLEN value which used to be in unistd.h.
2000-11-21 23:57:25 +00:00
Corinna Vinschen 3a7607289e * libc/include/sys/types.h: Change type of i to `size_t' in
FD_ZERO macro to avoid compiler warnings.
2000-11-06 11:59:53 +00:00
Christopher Faylor e0997f5a0f Fix spelling error. 2000-11-05 22:11:37 +00:00
Corinna Vinschen ba9e88d24c * libc/include/sys/unistd.h: Add defines for sysconf values
_SC_NPROCESSORS_CONF, _SC_NPROCESSORS_ONLN, _SC_PHYS_PAGES and
        _SC_AVPHYS_PAGES.
2000-10-24 18:27:54 +00:00
Christopher Faylor a8018ef336 * libc/include/sys/unistd.h: Add getdtablesize and setdtablesize declarations
for __CYGWIN__.
2000-10-10 00:28:49 +00:00
Jeff Johnston 8a8c59b9c2 2000-09-06 Jeff Johnston <jjohnstn@redhat.com>
* libc/include/sys/types.h (FD_ZERO): Remove call to bzero and
        inline code to prevent having to include another header file.
2000-09-06 20:55:46 +00:00
Jeff Johnston f825dfda78 2000-09-05 Jeff Johnston <jjohnstn@redhat.com>
* libc/include/fcntl.h (_FNDELAY): Changed to be _FNONBLOCK to
        make O_NDELAY and O_NONBLOCK have the same value.
2000-09-05 18:29:53 +00:00
DJ Delorie 14d3488d1f * libc/include/sys/unistd.h (environ): this one isn't from the
DLL, no __IMPORT
2000-08-25 20:14:45 +00:00
Jeff Johnston 2d5862dee6 2000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch>
* libc/stdlib/mprec.c (ulp, b2d, d2b): changed a few expressions
        like  x << y-z  to the equivalent  x << (y-z).
        (d2b): changed if statements with assignment to perform the
        assignment prior to the if check.
        * libc/reent/reent.c: included stdlib.h for "_free_r" prototype.
        * libc/unix/getpass.c (getpass): moved "echo" assignment out of if.
        * libc/unix/ttyname.c: included string.h for "strcpy" prototype.
        * libc/unix/getcwd.c (ISDOT): added parentheses to clarify && and ||
        precedence.
        * libc/include/sys/unistd.h: added "vfork" prototype (for popen.c).
        Added "_execve" prototype (for execl.c, execle.c, execv.c, and
        execve.c).
        * libc/posix/popen.c (popen): added parentheses to clarify && and ||
        precedence.
        * libm/math/e_cosh.c (__ieee754_cosh): changed parentheses to
        clarify && and || precendence (and to remove pascalism).
        * libm/math/e_sinh.c (__ieee754_sinh): Ditto.
        * libm/math/s_infconst.c: added another pair of braces to all
        initializers for __infinity (need three: for __infinity[1] array,
        for union __dmath, and for i[2]).
2000-08-24 22:32:38 +00:00
DJ Delorie 749d9bcd4b * libc/include/sys/config.h: define __IMPORT appropriately
* libc/include/ctype.h (_ctype_): use __IMPORT
* libc/include/math.h (__infinity, signam, _LIB_VERSION): ditto
* libc/include/math.h (__mb_cur_max): ditto
* libc/include/time.h (_timezone, _daylight, _tzname): ditto
* libc/include/unctrl.h (__unctrl, __unctrllen): ditto
* libc/include/errno.h (_sys_errlist, _sys_nerr): ditto
* libc/include/unistd.h (environ): ditto
2000-08-01 20:51:51 +00:00
Jeff Johnston 4634da64f7 Tue Jun 27 15:49:00 2000 Marek Michalkiewicz <marekm@linux.org.pl>
* configure.host: Add support for AVR target.
        * libc/include/machine/ieeefp.h: Likewise.
        * libc/include/sys/config.h: Likewise.
2000-06-27 19:51:33 +00:00
Jeff Johnston a704d94a86 Tue Jun 20 14:30:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
* libc/include/sys/reent.h (_rand_next): Added __extension__
        qualifier as long long type is not strict ANSI.
        * libc/stdlib/rand.c (rand): Added __extension__ qualifier
        to long long constant.
2000-06-20 18:34:57 +00:00
Corinna Vinschen b585720b59 * libc/include/sys/unistd.h: Add prototypes for `seteuid' and
`setegid' provided by Cygwin.
2000-06-16 21:04:37 +00:00
Jeff Johnston 46a43a99c6 Fri Jun 9 14:28:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
* libc/include/sys/reent.h (_rand_next): Changed to
        unsigned long long and moved to end of _reent struct in _new union.
        (_REENT_INIT): Changed to move _rand_next initialization.
        * libc/stdlib/rand.c (rand): Changed to use unsigned long long
        linear congruential algorithm that is used by DJGPP.
2000-06-09 18:50:05 +00:00
Ranjith Kumaran a68078cbb8 Thu Jun 8 21:18:00 2000 Ranjith Kumaran <ranjith@cygnus.com>
* libc/include/stdlib.h: Set RAND_MAX to __RAND_MAX.
	* libc/include/sys/config.h: Define __RAND_MAX.
2000-06-09 01:13:36 +00:00
Christopher Faylor d2dd57657c * libc/include/ctype.h: __CYGWIN32__ -> __CYGWIN__
* libc/include/malloc.h: Ditto.
* libc/include/process.h: Ditto.
* libc/include/stdio.h: Ditto.
* libc/include/stdlib.h: Ditto.
* libc/include/time.h: Ditto.
* libc/include/machine/setjmp.h: Ditto.
* libc/include/sys/errno.h: Ditto.
* libc/include/sys/signal.h: Ditto.
* libc/include/sys/stat.h: Ditto.
* libc/include/sys/time.h: Ditto.
* libc/include/sys/unistd.h: Ditto.
* libc/include/string.h: Ditto.  strsignal should return a const char *.
2000-05-30 17:18:05 +00:00
Corinna Vinschen b96fca8c5a * libc/include/sys/errno.h: Add define for ENOSHARE ("No such
host or network path") used by cygwin. Add some comments.
2000-05-03 15:59:37 +00:00
Corinna Vinschen 796e3b20bc * newlib/libc/include/sys/unistd.h: Add prototypes for
fchmod, fchown, lchown.
        * winsup/cygwin/syscalls.cc (chown_worker): Use previous
        uid/gid if new uid/gid is -1.
        New static function with chown functionality.
        (chown): Call chown_worker with SYMLINK_FOLLOW.
        (fchown): New function. Call chown_worker with SYMLINK_FOLLOW.
        (lchown): New function. Call chown_worker with SYMLINK_IGNORE.
        * cygwin.din: Add symbols for fchown, lchown.
        * path.cc (symlink): Call `set_file_attribute()' and
        `SetFileAttributeA()' instead of `chmod()' to set
        uid/gid correct.
2000-04-02 20:42:42 +00:00
Ranjith Kumaran bc019ef210 Thu Feb 24 11:43:00 2000 Ran Cabell <rcabell@norfolk.infi.net>
* libm/mathfp/sf_atan2.c: Fix atan2 typo for _DOUBLE_IS_32_BITS.
        * libm/mathfp/sf_atan.c: Ditto.

Thu Feb 24 11:39:00 2000  Joel Sherrill <joel@OARcorp.com>

        * libc/include/sys/stat.h: Add RTEMS prototype for lstat.
2000-02-24 16:48:28 +00:00
Christopher Faylor 8a0efa53e4 import newlib-2000-02-17 snapshot 2000-02-17 19:39:52 +00:00