summaryrefslogtreecommitdiffstats
path: root/newlib/libc/unix/ttyname.c
Commit message (Collapse)AuthorAgeFilesLines
* 2009-02-23 Craig Howland <howland@LGSInnovations.com>Jeff Johnston2009-02-231-56/+3
| | | | | | | | | | | * libc/unix/ttyname.c: Remove ttyname_r() (to a new file to avoid coupling ttyname_r() and ttyname() due to the latter's large buffer). * libc/unix/ttyname_r.c: New file to hold ttyname_r(), previously in ttyname.c. * libc/unix/ttyname.h: New file (common size definition for the 2 ttyname*c files that are now split). * libc/unix/Makefile.am (ELIX_2_SOURCES): Add ttyname_r.c. * libc/unix/Makefile.in: Regenerate.
* 2008-11-18 Joel Sherrill <joel.sherrill@oarcorp.com>Jeff Johnston2008-11-181-4/+2
| | | | * libc/unix/ttyname.c: Use isatty() instead of tcgetattr().
* 2008-11-18 Craig Howland <howland@LGSInnovations.com>Jeff Johnston2008-11-181-17/+42
| | | | | * libc/unix/ttyname.c: Add ttyname_r and change ttyname to use ttyname_r.
* 2005-11-03 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2005-11-031-5/+5
| | | | | | | | * libc/unix/getcwd.c: Don't use non-reentrant syscall names. * libc/unix/getlogin.c: Ditto. * libc/unix/getpass.c: Ditto. * libc/unix/getut.c: Ditto. * libc/unix/ttyname.c: Ditto.
* *** empty log message ***Jeff Johnston2005-07-071-5/+3
|
* 2000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch>Jeff Johnston2000-08-241-0/+1
| | | | | | | | | | | | | | | | | | | | | | | * 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]).
* import newlib-2000-02-17 snapshotChristopher Faylor2000-02-171-0/+85