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
0bda30e1ff
ansification: remove _CONST
...
Signed-off-by: Yaakov Selkowitz <yselkowi@redhat.com>
2018-01-17 11:47:08 -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
Alexandre Oliva
f205ea7a03
* libc/reent/Makefile.am (lib_a_SOURCES): Added unlinkr.c.
...
(CHEWOUT_FILES): Added unlinkr.def.
* libc/reent/Makefile.in: Rebuilt.
* libc/sys.tex: Include unlinkr.def.
* libc/reent/linkr.c (_unlink_r): Moved to...
* libc/reent/unlinkr.c: ... new file.
2000-03-08 04:01:49 +00:00
Christopher Faylor
8a0efa53e4
import newlib-2000-02-17 snapshot
2000-02-17 19:39:52 +00:00