Ralf Corsepius
9e7678d2af
Partial update from FreeBSD.
2005-05-09 13:12:45 +00:00
Joel Sherrill
72ba6689b8
2005-05-03 Joel Sherrill <joel@OARcorp.com>
...
* libcsupport/include/ringbuf.h: Use uint8_t instead of char for raw
data buffer.
2005-05-03 22:19:04 +00:00
Ralf Corsepius
a29d2e7e3d
2005-02-04 Ralf Corsepius <ralf.corsepius@rtems.org>
...
* libcsupport/include/rtems/libio.h: Use rtems_id for semaphores.
Use char* for buffer.
* backward/ftpd.h: New.
* Makefile.am: Reflect having added backward/ftpd.h.
2005-02-04 14:58:01 +00:00
Joel Sherrill
ce92867bea
2005-02-01 Joel Sherrill <joel@OARcorp.com>
...
* libblock/include/rtems/bdbuf.h,
libblock/include/rtems/ide_part_table.h, libblock/src/blkdev.c,
libcsupport/include/rtems/termiostypes.h, libcsupport/src/termios.c,
posix/macros/rtems/posix/cond.inl,
posix/macros/rtems/posix/mutex.inl : Remove warnings.
2005-02-02 00:06:18 +00:00
Ralf Corsepius
eb891eb331
2005-01-28 Ralf Corsepius <ralf.corsepius@rtems.org>
...
* libcsupport/include/inttypes.h: New header guard.
Fix doxygen preamble.
2005-01-28 08:07:03 +00:00
Ralf Corsepius
7945944459
New header guards.
2005-01-28 08:04:27 +00:00
Ralf Corsepius
e18080ab06
2005-01-27 Ralf Corsepius <ralf.corsepius@rtems.org>
...
* libcsupport/include/tar.h: New (SUSv3).
* Makefile.am: Integrate newlib-specific headers.
Add libcsupport/include/tar.h.
* libcsupport/Makefile.am: Remove newlib-specific headers.
2005-01-27 06:42:37 +00:00
Ralf Corsepius
a1ec1b9551
2005-01-24 Ralf Corsepius <ralf.corsepius@rtems.org>
...
* libcsupport/include/stdint.h: Use __PTRDIFF_TYPE for intptr_t.
2005-01-24 15:02:00 +00:00
Ralf Corsepius
4d3017ab2d
Add doxygen preamble.
2004-12-02 18:04:55 +00:00
Ralf Corsepius
f10a9991c8
2004-11-20 Ralf Corsepius <ralf.corsepiu@rtems.org>
...
* libcsupport/include/stdint.h: Move mal-placed comment.
2004-11-20 02:57:19 +00:00
Joel Sherrill
760ccad71b
2004-11-09 Joel Sherrill <joel@OARcorp.com>
...
* libcsupport/include/stdint.h: Fixed name in @file.
2004-11-09 15:41:04 +00:00
Ralf Corsepius
a0596b415f
2004-11-08 Ralf Corsepius <ralf.corsepiu@rtems.org>
...
* libcsupport/include/sys/_stdint.h: Remove.
* libcsupport/include/sys/_inttypes.h: Remove.
* libcsupport/include/stdint.h: Replace with former sys/_stdint.h.
Add INT<N>_C, various additions.
* libcsupport/include/inttypes.h: Replace with former
sys/_inttypes.h.
* libcsupport/Makefile.am: Reflect changes above.
2004-11-08 16:11:58 +00:00
Ralf Corsepius
ad58194eb4
Remove.
2004-11-08 16:11:20 +00:00
Ralf Corsepius
47148e4f85
2004-11-07 Ralf Corsepius <ralf.corsepiu@rtems.org>
...
* libcsupport/include/sys/_stdint.h: Special-case int64_t (GCC has
__LONG_LONG_MAX__, while POSIX mandates LLONG_MAX. This break
__EXP(LONG_LONG_MAX)).
2004-11-07 06:49:39 +00:00
Ralf Corsepius
bffdb8281b
2004-11-05 Ralf Corsepius <ralf_corsepiu@rtems.org>
...
* configure.ac: Remove RTEMS_USES_INTTYPES_H. Require inttypes.h.
* include/rtems/stdint.h: Remove "wild guesses", require inttypes.h.
* libcsupport/include/inttypes.h: Cleanup.
* libcsupport/include/stdint.h: Cleanup.
2004-11-05 11:34:49 +00:00
Ralf Corsepius
07a984b1ad
2004-11-04 Ralf Corsepius <ralf_corsepiu@rtems.org>
...
* include/sys/_stdint.h: Various changes.
Add *leastN_t types. Add INTN_{MIN|MAX} macros.
Add doxygen preamble.
* include/sys/_inttypes.h: Add doxygen preamble.
Reflect changes above.
* libcsupport/include/stdint.h: Add doxygen preamble.
* libcsupport/include/inttypes.h: Add doxygen preamble.
* configure.ac: Add doxygen preamble to cpuopts.h.
2004-11-04 21:48:12 +00:00
Ralf Corsepius
e7ab8899cd
2004-11-01 Ralf Corsepius <ralf_corsepius@rtems.org>
...
* configure.ac: Remove -ansi (Cygwin breaks with it).
* libcsupport/include/stdint.h: Use sys/_stdint.h to setup fixed
size types.
* libcsupport/include/sys/_inttypes.h: Add SCN*N macros.
2004-11-01 11:38:18 +00:00
Ralf Corsepius
0f9ff45957
2004-10-28 Ralf Corsepius <ralf_corsepius@rtems.org>
...
* libcsupport/include/inttypes.h: #include <sys/_inttypes.h>
* libcsupport/src/utsname.c: Don't include sptables.h.
Include <inttypes.h>. Use PRId32 instead of "%d".
2004-10-29 10:34:38 +00:00
Ralf Corsepius
b24b4eb06b
2004-10-28 Ralf Corsepius <ralf_corsepius@rtems.org>
...
* libcsupport/include/rtems/_inttypes.h: Remove.
* libcsupport/include/rtems/_stdint.h: Remove.
* libcsupport/include/sys/_inttypes.h: New.
* libcsupport/include/sys/_stdint.h: New.
* libcsupport/Makefile.am: Reflect changes above.
2004-10-29 10:13:02 +00:00
Ralf Corsepius
eafc34b58b
2004-10-26 Ralf Corsepius <ralf_corsepius@rtems.org>
...
* libcsupport/include/rtems/_inttypes.h: Undefine __PRIN defines.
* libcsupport/include/rtems/_stdint.h: Apply GNUC-limits to GCC >= 3.3, only.
Add _rtems_*_t_defined defines. Add extern "C".
2004-10-26 17:11:03 +00:00
Ralf Corsepius
e9d4e8d70a
New.
2004-10-26 11:02:39 +00:00
Ralf Corsepius
795399e2f5
2004-10-26 Ralf Corsepius <ralf_corsepius@rtems.org>
...
* libcsupport/include/sys/ioctl.h: Cosmetical update from FreeBSD.
Remove sys/compat_ioctl.h section (Meaningless with RTEMS).
2004-10-26 10:45:02 +00:00
Ralf Corsepius
3822913741
2004-10-26 Ralf Corsepius <ralf_corsepius@rtems.org>
...
* libcsupport/include/sys/ioccom.h: Cosmetical update from FreeBSD.
2004-10-26 07:40:45 +00:00
Ralf Corsepius
134191bc99
2004-10-22 Ralf Corsepius <ralf_corsepius@rtems.org>
...
* libcsupport/include/stdint.h: Add intptr_t uintptr_t.
2004-10-22 14:06:33 +00:00
Ralf Corsepius
50f32b1165
Remove stray white spaces.
2004-04-18 06:05:35 +00:00
Ralf Corsepius
3239698d1f
Remove stray white spaces.
2004-04-15 13:26:21 +00:00
Ralf Corsepius
a5777f043d
2004-04-13 Ralf Corsepius <ralf_corsepius@rtems.org>
...
* configure.ac: Rework stdint.h/inttypes.h support.
Add RTEMS_USES_STDINT_H. Add RTEMS_USES_INTTYPES_H.
Remove NEED_STDINT_H. Remove NEED_INTTYPES_H.
Remove termios-flag detection.
* libcsupport/Makefile.am: Install include/stdint.h and
include/inttypes.h for NEWLIB only.
* libcsupport/include/stdint.h: Rework; Now newlib specific.
* libcsupport/src/termios.c: Make newlib specific.
* include/rtems/stdint.h: Rework; Now wrapper to <stdint.h>.
2004-04-13 15:15:28 +00:00
Ralf Corsepius
83c5fc1bb9
2004-03-23 Ralf Corsepius <ralf_corsepius@rtems.org>
...
* libcsupport/include/chain.h, libcsupport/include/clockdrv.h,
libcsupport/include/ringbuf.h, libcsupport/include/spurious.h,
libcsupport/include/timerdrv.h, libcsupport/include/vmeintr.h,
libcsupport/include/motorola/mc68230.h,
libcsupport/include/rtems/assoc.h, libcsupport/include/rtems/libio.h,
libcsupport/include/rtems/libio_.h,
libcsupport/include/rtems/termiostypes.h,
libcsupport/include/zilog/z8036.h, libcsupport/include/zilog/z8530.h,
libcsupport/include/zilog/z8536.h, libcsupport/src/__gettod.c,
libcsupport/src/assoc.c, libcsupport/src/assocnamebad.c,
libcsupport/src/error.c, libcsupport/src/libio.c,
libcsupport/src/libio_sockets.c, libcsupport/src/malloc.c,
libcsupport/src/no_libc.c, libcsupport/src/termios.c,
libcsupport/src/termiosreserveresources.c: Convert to using c99
fixed-size types.
2004-03-23 06:07:53 +00:00
Ralf Corsepius
2609e83f77
Unused.
2004-03-08 16:26:41 +00:00
Joel Sherrill
de2ee43db0
2003-12-16 Joel Sherrill <joel@OARcorp.com>
...
PR 542/filesystem
* include/rtems/libio_.h: Add rtems_libio_iop_to_descriptor macro to
convert iop to the corresponding integer file descriptor.
2003-12-16 23:41:27 +00:00
Jennifer Averett
de691e68f7
2003-11-25 Jennifer Averett <jennifer@OARcorp.com>
...
PR 519/filesystem
* include/rtems/libio_.h, src/eval.c, src/rmdir.c, src/unlink.c: Check
write permissions in parent directory for file or directory delete
2003-11-25 17:26:45 +00:00
Ralf Corsepius
bcb9ab43d3
2003-11-22 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
...
* include/rtems/cdefs.h: Use _RTEMS_CDEFS_H guards.
2003-11-22 11:32:46 +00:00
Ralf Corsepius
6cb5bcd5f8
2003-11-22 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
...
* include/rtems/cdefs.h: New.
* Makefile.am: Completely reworked.
2003-11-22 11:31:12 +00:00
Joel Sherrill
0eae36c7c7
2003-09-04 Joel Sherrill <joel@OARcorp.com>
...
* include/chain.h, include/clockdrv.h, include/console.h,
include/iosupp.h, include/rtc.h, include/spurious.h,
include/timerdrv.h, include/vmeintr.h, include/motorola/mc68230.h,
include/rtems/libcsupport.h, include/rtems/libio.h,
include/rtems/libio_.h, include/rtems/termiostypes.h,
include/sys/termios.h, include/zilog/z8036.h, include/zilog/z8530.h,
include/zilog/z8536.h, src/__brk.c, src/__gettod.c, src/__sbrk.c,
src/__times.c, src/access.c, src/base_fs.c, src/cfgetispeed.c,
src/cfgetospeed.c, src/cfsetispeed.c, src/cfsetospeed.c, src/chdir.c,
src/chmod.c, src/chown.c, src/chroot.c, src/close.c, src/ctermid.c,
src/dup.c, src/dup2.c, src/eval.c, src/fchdir.c, src/fchmod.c,
src/fcntl.c, src/fdatasync.c, src/fpathconf.c,
src/fs_null_handlers.c, src/fstat.c, src/fsync.c, src/ftruncate.c,
src/getdents.c, src/getpwent.c, src/hosterr.c, src/ioctl.c,
src/isatty.c, src/libio.c, src/libio_sockets.c, src/link.c,
src/lseek.c, src/lstat.c, src/malloc.c, src/mallocfreespace.c,
src/mkdir.c, src/mkfifo.c, src/mknod.c, src/mount.c, src/newlibc.c,
src/no_libc.c, src/no_posix.c, src/open.c, src/pathconf.c,
src/pipe.c, src/privateenv.c, src/read.c, src/readlink.c,
src/rewinddir.c, src/rmdir.c, src/seekdir.c, src/stat.c,
src/symlink.c, src/sync.c, src/tcdrain.c, src/tcflow.c,
src/tcflush.c, src/tcgetattr.c, src/tcgetprgrp.c, src/tcsendbreak.c,
src/tcsetattr.c, src/tcsetpgrp.c, src/telldir.c, src/termios.c,
src/termiosinitialize.c, src/truncate.c, src/umask.c, src/unixlibc.c,
src/unlink.c, src/unmount.c, src/utime.c, src/write.c: URL for
license changed.
2003-09-04 18:54:13 +00:00
Chris Johns
1f5d2baf06
Patch by Chris Johns <cjohns@cybertec.com.au> adding the rtems_termios_bufsize call.
2003-07-02 14:20:36 +00:00
Ralf Corsepius
fe661e4169
2003-05-27 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
...
PR 409:
* include/stdint.h: Include rtems/stdint.h
2003-05-27 16:33:01 +00:00
Joel Sherrill
2a09fb6ebf
2003-02-06 Joel Sherrill <joel@OARcorp.com>
...
* include/sys/ioccom.h: Include <sys/types.h> not <machine/types.h> so
Linux port builds.
2003-02-06 15:01:59 +00:00
Joel Sherrill
787449a9c8
2003-02-05 Joel Sherrill <joel@OARcorp.com>
...
* include/sys/ioccom.h: Fix so not using internal RTEMS types in libc
code.
2003-02-05 21:12:03 +00:00
Joel Sherrill
0b178f0436
2003-01-10 Joel Sherrill <joel@OARcorp.com>
...
* include/rtems/libio.h: Rename __dev_t to __rtems_dev_t to avoid
conflict with GNU/Linux header files.
2003-01-10 15:02:52 +00:00
Joel Sherrill
7e476f0279
2002-12-02 Joel Sherrill <joel@OARcorp.com>
...
* include/rtems/libio.h: Internally use a union of an unsigned64
and major/minor device so we don't get into trouble shifting.
The h8300 seemed to be impossible to remove warnings otherwise.
Eventually the structure definition of a dev_t might be better anyway.
* include/sys/ioccom.h: Added casts to remove warnings on 16 bit
targets.
2002-12-02 19:13:26 +00:00
Joel Sherrill
a1f10111da
2002-10-28 Joel Sherrill <joel@OARcorp.com>
...
* include/rtems/libio.h: Change rtems_filesystem_node_types_t from
enumeration to int to eliminate warnings when values are overridden.
2002-10-28 14:04:03 +00:00
Joel Sherrill
5d0b2f75eb
2002-09-14 Joel Sherrill <joel@OARcorp.com>
...
* include/rtems/libio.h: Change rtems_filesystem_read_t and
rtems_filesystem_write_t to return ssize_t to match read(2)
and write(2) respectively.
2002-09-14 21:07:02 +00:00
Joel Sherrill
5af0cf2fb2
2002-07-30 Joel Sherrill <joel@OARcorp.com>
...
* include/sys/utime.h: Removed as file is now part of the RTEMS
newlib support.
* Makefile.am: Reflect above.
* include/rtems/termiostypes.h: Avoid use of __P.
2002-07-30 23:26:18 +00:00
Joel Sherrill
485e80fa03
2002-04-16 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
...
* include/Makefile.am: Add stdint.h and inttypes.h.
(reported by Mike Siers <mikes@poliac.com >)
* include/stdint.h: New file.
* include/inttypes.h: New file.
2002-04-16 13:23:40 +00:00
Joel Sherrill
eaeb467139
2001-03-20 Joel Sherrill <joel@OARcorp.com>
...
* PR143
* lib/include/rtems/termiostypes.h: Removed unneeded volatile on
"theBuf" since no byte is read more than once anyway.
2002-03-20 17:59:12 +00:00
Joel Sherrill
d09ad1f0e0
2002-02-09 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
...
* include/rtems/libio.h: Add #include <rtems/fs.h>.
Reflect changes due to using rtems/fs.h.
* include/rtems/libio_.h: Reworked.
2002-01-16 22:54:59 +00:00
Joel Sherrill
a02224e0e6
2002-01-04 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
...
* include/rtems/libio_.h: Remove set_errno_and_return_minus_one.
* libc/cfsetispeed.c: Include <rtems/seterr.h>.
Apply rtems_set_errno_and_return_minus_one.
* libc/cfsetospeed.c: Include <rtems/seterr.h>.
Apply rtems_set_errno_and_return_minus_one.
* libc/chdir.c: Include <rtems/seterr.h>.
Apply rtems_set_errno_and_return_minus_one.
* libc/chmod.c: Include <rtems/seterr.h>.
Apply rtems_set_errno_and_return_minus_one.
* libc/chown.c: Include <rtems/seterr.h>.
Apply rtems_set_errno_and_return_minus_one.
* libc/chroot.c: Include <rtems/seterr.h>.
Apply rtems_set_errno_and_return_minus_one.
* libc/closedir.c: Include <rtems/seterr.h>.
Apply rtems_set_errno_and_return_minus_one.
* libc/eval.c: Include <rtems/seterr.h>.
Apply rtems_set_errno_and_return_minus_one.
* libc/fchdir.c: Include <rtems/seterr.h>.
Apply rtems_set_errno_and_return_minus_one.
* libc/fchmod.c: Include <rtems/seterr.h>.
Apply rtems_set_errno_and_return_minus_one.
* libc/fdatasync.c: Include <rtems/seterr.h>.
Apply rtems_set_errno_and_return_minus_one.
* libc/fpathconf.c: Include <rtems/seterr.h>.
Apply rtems_set_errno_and_return_minus_one.
* libc/fstat.c: Include <rtems/seterr.h>.
Apply rtems_set_errno_and_return_minus_one.
* libc/fsync.c: Include <rtems/seterr.h>.
Apply rtems_set_errno_and_return_minus_one.
* libc/ftruncate.c: Include <rtems/seterr.h>.
Apply rtems_set_errno_and_return_minus_one.
* libc/getdents.c: Include <rtems/seterr.h>.
Apply rtems_set_errno_and_return_minus_one.
* libc/ioctl.c: Include <rtems/seterr.h>.
Apply rtems_set_errno_and_return_minus_one.
* libc/link.c: Include <rtems/seterr.h>.
Apply rtems_set_errno_and_return_minus_one.
* libc/lseek.c: Include <rtems/seterr.h>.
Apply rtems_set_errno_and_return_minus_one.
* libc/mknod.c: Include <rtems/seterr.h>.
Apply rtems_set_errno_and_return_minus_one.
* libc/open.c: Include <rtems/seterr.h>.
Apply rtems_set_errno_and_return_minus_one.
* libc/read.c: Include <rtems/seterr.h>.
Apply rtems_set_errno_and_return_minus_one.
* libc/readlink.c: Include <rtems/seterr.h>.
Apply rtems_set_errno_and_return_minus_one.
* libc/rmdir.c: Include <rtems/seterr.h>.
Apply rtems_set_errno_and_return_minus_one.
* libc/stat.c: Include <rtems/seterr.h>.
Apply rtems_set_errno_and_return_minus_one.
* libc/symlink.c: Include <rtems/seterr.h>.
Apply rtems_set_errno_and_return_minus_one.
* libc/tcsetattr.c: Include <rtems/seterr.h>.
Apply rtems_set_errno_and_return_minus_one.
* libc/telldir.c: Include <rtems/seterr.h>.
Apply rtems_set_errno_and_return_minus_one.
* libc/ttyname.c: Include <rtems/seterr.h>.
Apply rtems_set_errno_and_return_minus_one.
* libc/ttyname_r.c: Include <rtems/seterr.h>.
Apply rtems_set_errno_and_return_minus_one.
* libc/unlink.c: Include <rtems/seterr.h>.
Apply rtems_set_errno_and_return_minus_one.
* libc/unmount.c: Include <rtems/seterr.h>.
Apply rtems_set_errno_and_return_minus_one.
* libc/utime.c: Include <rtems/seterr.h>.
Apply rtems_set_errno_and_return_minus_one.
* libc/write.c: Include <rtems/seterr.h>.
Apply rtems_set_errno_and_return_minus_one.
2002-01-04 18:29:37 +00:00
Joel Sherrill
1af7963479
2001-10-25 Jennifer Averett <jennifer@OARcorp.com>
...
* libc/libio.c: Initialize more fields to NULL/0 during initialiation.
* include/rtems/libio_.h: Fix freenode macro so it works for sockets
which do not have the full set of filesystem operations and are
initialized via something other than open().
2001-10-25 17:38:55 +00:00
Joel Sherrill
9f6c06322a
2001-10-12 Joel Sherrill <joel@OARcorp.com>
...
* include/chain.h: Fixed typo.
2001-10-12 21:10:49 +00:00
Joel Sherrill
d6c20ff373
2001-08-17 Joel Sherrill <joel@OARcorp.com>
...
* include/rtems/libio_.h: Added ifdef to ensure that LOGIN_NAME_MAX
is defined on GNU/Linux (RedHat 6.2 distribution).
* libc/unixlibc.c: Added stubs for rtems_io_register_name() and
rtems_io_lookup_name() so UNIX port would compile the IO manager
sptest that registers /dev/null.
2001-08-17 21:59:28 +00:00