summaryrefslogtreecommitdiff
path: root/nuttx/drivers/pipes/pipe.c
Commit message (Collapse)AuthorAgeFilesLines
* Make some file section headers more consistent with standardGregory Nutt2015-04-081-1/+1
|
* VFS: The inode unlink method should not be support if operations on the root ↵Gregory Nutt2015-02-181-0/+2
| | | | pseudo-filesystem are disabled.
* Pipes/FIFOs: Implement the unlink method. If the pipe/FIFO is unlinked, it ↵Gregory Nutt2015-01-311-17/+18
| | | | will marked the pipe/FIFO as unliked. If/when all open references to the driver are closed, all of the driver resources will be freed.
* Unix domain/FIFOs: Fix a race condition between FIFO buffer operations and ↵Gregory Nutt2015-01-301-1/+1
| | | | the opening and closing of FIFOs which necessary when the FIFOs are used to support Unix domain, datagram sockets. The default policy is the deallocate FIFO buffering when the last client closes the pipe. When when used for datagram communicatinos, packets left in the FIFO will be lost. Some like UDP read-ahead is needed: The buffered data in the FIFO needs to be retained until the reader gets a chance to re-open the FIFO. Added an ioctl (PIPEIOC_POLICY) to control the buffer policy. Default (0) is the legacy behavior; Unix domain datagram logic sets the alternative policy so that the packet data persists after the FIFO is closed.
* Fixes some issues found by the PX4 team using Coverity. From Pavel KrienkoGregory Nutt2015-01-191-1/+4
|
* nuttx/drivers: Remove explicity references to errno. That is a problem ↵Gregory Nutt2014-08-281-1/+1
| | | | from within the kernel for certain configurations
* Changes to get PX4 config to build. Also some warning removalGregory Nutt2014-01-141-1/+1
|
* Clean up some naming: fd vs. fildes vs. filedes and filep vs filpGregory Nutt2013-09-281-12/+12
|
* drivers/, drivers/pipes, and drivers/serial file clean-uppatacongo2012-07-151-2/+6
| | | | git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4944 42af7a65-404d-4744-a932-0658087f49c3
* Move file-system header files to include/nuttx/fspatacongo2012-03-211-1/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4499 42af7a65-404d-4744-a932-0658087f49c3
* Changing NuttX fixed size type names to C99 standard names -- things will be ↵patacongo2009-12-151-3/+3
| | | | | | broken for awhile git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2343 42af7a65-404d-4744-a932-0658087f49c3
* Move some drivers to separate subdirectoriespatacongo2009-10-181-0/+282
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2156 42af7a65-404d-4744-a932-0658087f49c3