summaryrefslogtreecommitdiffstats
path: root/cpukit/libcsupport/src/readv.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* cpukit/libcsupport/src/[g-r]*: Change license to BSD-2Joel Sherrill2022-04-011-3/+22
| | | | Updates #3053.
* Canonicalize config.h includeSebastian Huber2020-04-161-1/+1
| | | | | | | | Use the following variant which was already used by most source files: #ifdef HAVE_CONFIG_H #include "config.h" #endif
* libio: Unify readv() and writev()Sebastian Huber2017-09-151-10/+17
| | | | Update #3132.
* Change all references of rtems.com to rtems.org.Chris Johns2014-03-211-1/+1
|
* Filesystem: Add readv/writev handlersSebastian Huber2013-12-201-20/+1
| | | | | | | | | The readv() and writev() support was implemented in terms of multiple calls to the read and write handlers. This imposes a problem on device files which use an IO vector as single request entity. For example a low-level network device (e.g. BPF(4)) may use an IO vector to create one frame from multiple protocol layers each with its own IO vector entry.
* libcsupport: Add and use rtems_libio_iovec_eval()Sebastian Huber2013-12-201-73/+15
|
* libcsupport: Doxygen Enhancement Task #8Alex Ivanov2012-12-151-6/+14
| | | | http://www.google-melange.com/gci/task/view/google/gci2012/7996208
* Filesystem: PR1255: Move offset update to handlersSebastian Huber2012-05-151-1/+0
| | | | | | | It is now the responsibility of the read() and write() handler to update the offset field of the IO descriptor (rtems_libio_t). This change makes it possible to protect the IO descriptor from concurrent access by per file locks.
* Remove All CVS Id Strings Possible Using a ScriptJoel Sherrill2012-05-111-2/+0
| | | | | | | | | | | | Script does what is expected and tries to do it as smartly as possible. + remove occurrences of two blank comment lines next to each other after Id string line removed. + remove entire comment blocks which only exited to contain CVS Ids + If the processing left a blank line at the top of a file, it was removed.
* 2011-07-22 Joel Sherrill <joel.sherrilL@OARcorp.com>Joel Sherrill2011-07-221-2/+2
| | | | | | | | | | | PR 1839/filesystem * libcsupport/include/rtems/libio_.h, libcsupport/src/fchdir.c, libcsupport/src/fdatasync.c, libcsupport/src/fpathconf.c, libcsupport/src/fsync.c, libcsupport/src/ftruncate.c, libcsupport/src/read.c, libcsupport/src/readv.c, libcsupport/src/write.c, libcsupport/src/writev.c: Some calls did not return proper status for permission errors or incorrectly permissions at all.
* 2010-08-25 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2010-08-251-4/+5
| | | | | | | Coverity Id 93/NO_EFFECT Coverity Id 94/NO_EFFECT * libcsupport/src/readv.c, libcsupport/src/writev.c: size_t is unsigned so it is useless to check for < 0.
* 2010-07-16 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber2010-07-151-1/+5
| | | | | | | | | | | | | | | | | | | | | * libcsupport/include/rtems/libio.h: Removed file_info and handlers fields in rtems_libio_t. * libcsupport/src/close.c, libcsupport/src/fcntl.c, libcsupport/src/fdatasync.c, libcsupport/src/fstat.c, libcsupport/src/fsync.c, libcsupport/src/ftruncate.c, libcsupport/src/getdents.c, libcsupport/src/ioctl.c, libcsupport/src/libio_sockets.c, libcsupport/src/lseek.c, libcsupport/src/open.c, libcsupport/src/read.c, libcsupport/src/readv.c, libcsupport/src/write.c, libcsupport/src/writev.c, libfs/src/devfs/devclose.c, libfs/src/devfs/devioctl.c, libfs/src/devfs/devopen.c, libfs/src/devfs/devread.c, libfs/src/devfs/devwrite.c libfs/src/dosfs/msdos_dir.c libfs/src/dosfs/msdos_file.c libfs/src/imfs/deviceio.c libfs/src/imfs/imfs_directory.c libfs/src/imfs/imfs_fifo.c libfs/src/imfs/memfile.c libfs/src/nfsclient/src/nfs.c libfs/src/rfs/rtems-rfs-rtems-file.c libfs/src/rfs/rtems-rfs-rtems.h libnetworking/lib/ftpfs.c: Reflect changes above.
* 2010-07-01 Jennifer Averett <Jennifer.Averett@OARcorp.com>Jennifer Averett2010-07-011-3/+0
| | | | | | | | | | | | | | | | | | | | | * libcsupport/src/chdir.c, libcsupport/src/chmod.c, libcsupport/src/chown.c, libcsupport/src/close.c, libcsupport/src/eval.c, libcsupport/src/fchdir.c, libcsupport/src/fchmod.c, libcsupport/src/fchown.c, libcsupport/src/fcntl.c, libcsupport/src/fdatasync.c, libcsupport/src/freenode.c, libcsupport/src/fstat.c, libcsupport/src/fsync.c, libcsupport/src/ftruncate.c, libcsupport/src/ioctl.c, libcsupport/src/link.c, libcsupport/src/lseek.c, libcsupport/src/mknod.c, libcsupport/src/mount.c, libcsupport/src/open.c, libcsupport/src/read.c, libcsupport/src/readlink.c, libcsupport/src/readv.c, libcsupport/src/rmdir.c, libcsupport/src/stat.c, libcsupport/src/statvfs.c, libcsupport/src/symlink.c, libcsupport/src/unlink.c, libcsupport/src/unmount.c, libcsupport/src/write.c: Removed filesystem checks for NULL methods checks from the main posix rountines. These are now required to have at a miminum default routines in the tables.
* 2010-04-25 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2010-04-251-1/+1
| | | | | * libcsupport/src/readv.c: Check for < 0 on iov_len, not <= 0. A readv() with all iov_len equal to 0 should have no effect.
* Whitespace removal.Ralf Corsepius2009-11-291-2/+2
|
* Convert using "bool".Ralf Corsepius2008-09-011-4/+4
|
* 2007-09-24 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2007-09-241-0/+118
PR 1262/filesystem * libcsupport/Makefile.am, libnetworking/libc/herror.c, libnetworking/libc/res_send.c, libnetworking/sys/uio.h, telnetd/Makefile.am, telnetd/README, telnetd/preinstall.am, telnetd/pty.c, telnetd/telnetd.c: Add support for readv() and writev() including documentation and test case. * libcsupport/src/readv.c, libcsupport/src/writev.c: New files.