summaryrefslogtreecommitdiff
path: root/nuttx/lib/lib_rawoutstream.c
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/lib/lib_rawoutstream.c')
-rw-r--r--nuttx/lib/lib_rawoutstream.c13
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)