Matt Joyce
f3b8138239
Add _REENT_ERRNO(ptr)
...
Add a _REENT_ERRNO() macro to encapsulate the access to the
_errno member of struct reent. This will help to replace the
structure member with a thread-local storage object in a follow
up patch.
Replace uses of __errno_r() with _REENT_ERRNO(). Keep __errno_r() macro for
potential users outside of Newlib.
2022-07-13 06:55:41 +02:00
Yaakov Selkowitz
9087163804
ansification: remove _DEFUN
...
Signed-off-by: Yaakov Selkowitz <yselkowi@redhat.com>
2018-01-17 11:47:26 -06:00
Yaakov Selkowitz
6783860a2e
ansification: remove _AND
...
Signed-off-by: Yaakov Selkowitz <yselkowi@redhat.com>
2018-01-17 11:47:05 -06:00
Yaakov Selkowitz
35d2d2fe2e
reent: remove TRAD_SYNOPSIS
...
Signed-off-by: Yaakov Selkowitz <yselkowi@redhat.com>
2017-12-01 03:41:51 -06:00
Jeff Johnston
bf3bcac28b
2003-06-03 Jeff Johnston <jjohnstn@redhat.com>
...
* libc/reent/execr.c: Use _DEFUN macro for function declaration.
* libc/reent/fcntlr.c: Ditto.
* libc/reent/fstat64r.c: Ditto.
* libc/reent/linkr.c: Ditto.
* libc/reent/lseek64r.c: Ditto.
* libc/reent/lseekr.c: Ditto.
* libc/reent/openr.c: Ditto.
* libc/reent/readr.c: Ditto.
* libc/reent/reent.c: Ditto.
* libc/reent/sbrkr.c: Ditto.
* libc/reent/signalr.c: Ditto.
* libc/reent/signgam.c: Ditto.
* libc/reent/statr.c: Ditto.
* libc/reent/timer.c: Ditto.
* libc/reent/unlinkr.c: Ditto.
* libc/reent/writer.c: Ditto.
* libc/syscalls/sysclose.c: Ditto.
* libc/syscalls/sysexecve.c: Ditto.
* libc/syscalls/sysfcntl.c: Ditto.
* libc/syscalls/sysfork.c: Ditto.
* libc/syscalls/sysfstat.c: Ditto.
* libc/syscalls/sysgetpid.c: Ditto.
* libc/syscalls/sysgettod.c: Ditto.
* libc/syscalls/syskill.c: Ditto.
* libc/syscalls/syslink.c: Ditto.
* libc/syscalls/syslseek.c: Ditto.
* libc/syscalls/sysopen.c: Ditto.
* libc/syscalls/sysread.c: Ditto.
* libc/syscalls/syssbrk.c: Ditto.
* libc/syscalls/sysstat.c: Ditto.
* libc/syscalls/systimes.c: Ditto.
* libc/syscalls/sysunlink.c: Ditto.
* libc/syscalls/syswait.c: Ditto.
2003-06-03 19:48:08 +00:00
Corinna Vinschen
2a940c1a22
* libc/include/stdio.h: Declare fgetpos, fsetpos, fseeko and ftello
...
with internal (_fpos_t and _off_t) datatypes when compiling newlib.
* libc/include/sys/unistd.h: Declare _lseek using _off_t.
* libc/reent/lseekr.c (_lseek_r): Use _off_t instead of off_t.
* libc/stdio/fseeko.c (fseeko): Ditto.
* libc/stdio/ftello.c (ftello): Ditto.
* libc/stdio/stdio.c (__swrite): Ditto.
(__sseek): Ditto.
* libc/stdio/fgetpos.c (fgetpos): Use _fpos_t instead of fpos_t.
* libc/stdio/fseek.c (fseek): Ditto.
* libc/stdio/fsetpos.c (fsetpos): Ditto.
* libc/stdio/ftell.c (ftell): Ditto.
* libc/stdio/local.h: Declare __sseek using _off_t.
2003-03-14 18:39:05 +00:00
Corinna Vinschen
150c2818b6
* libc/reent/lseekr.c (lseek_r): Use _off_t instead of off_t.
2003-03-09 22:10:14 +00:00
Christopher Faylor
8a0efa53e4
import newlib-2000-02-17 snapshot
2000-02-17 19:39:52 +00:00