diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2009-06-01 14:24:29 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2009-06-01 14:24:29 +0000 |
commit | 1429d1f9793ddcfcce42214a19a64042111b784d (patch) | |
tree | a93643d35ce4c2dced36b19511b19634f1c9fa0c /nuttx/lib/lib_rawoutstream.c | |
parent | 5ba94a97648150ab48ab40d443527706303b9519 (diff) | |
download | px4-nuttx-1429d1f9793ddcfcce42214a19a64042111b784d.tar.gz px4-nuttx-1429d1f9793ddcfcce42214a19a64042111b784d.tar.bz2 px4-nuttx-1429d1f9793ddcfcce42214a19a64042111b784d.zip |
update comments; add lib_zeroinstream
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1842 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/lib/lib_rawoutstream.c')
-rw-r--r-- | nuttx/lib/lib_rawoutstream.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/nuttx/lib/lib_rawoutstream.c b/nuttx/lib/lib_rawoutstream.c index 1772f3927..4d102446b 100644 --- a/nuttx/lib/lib_rawoutstream.c +++ b/nuttx/lib/lib_rawoutstream.c @@ -74,6 +74,19 @@ static void rawoutstream_putc(FAR struct lib_outstream_s *this, int ch) /**************************************************************************** * Name: lib_rawoutstream + * + * Description: + * Initializes a stream for use with a file descriptor. + * + * Input parameters: + * rawoutstream - User allocated, uninitialized instance of struct + * lib_rawoutstream_s to be initialized. + * fd - User provided file/socket descriptor (must have been opened + * for write access). + * + * Returned Value: + * None (User allocated instance initialized). + * ****************************************************************************/ void lib_rawoutstream(FAR struct lib_rawoutstream_s *rawoutstream, int fd) |