summaryrefslogtreecommitdiffstats
path: root/c/src/exec/libcsupport/include
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1999-03-19 21:51:58 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1999-03-19 21:51:58 +0000
commitaf0200363e8d0a69648bd78fd5ee2d0ee5f40624 (patch)
tree5134c59a5e4afdf27dec4559ad764a099a66c5e1 /c/src/exec/libcsupport/include
parentPatch from Ralf Corsepius <corsepiu@faw.uni-ulm.de>: (diff)
downloadrtems-af0200363e8d0a69648bd78fd5ee2d0ee5f40624.tar.bz2
Patch from Eric Norum <eric@skatter.usask.ca> that adds external
fcntl support and an external fcntl handler for sockets.
Diffstat (limited to 'c/src/exec/libcsupport/include')
-rw-r--r--c/src/exec/libcsupport/include/rtems/libio.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/c/src/exec/libcsupport/include/rtems/libio.h b/c/src/exec/libcsupport/include/rtems/libio.h
index 1cbfef383b..6ded1e361d 100644
--- a/c/src/exec/libcsupport/include/rtems/libio.h
+++ b/c/src/exec/libcsupport/include/rtems/libio.h
@@ -115,6 +115,11 @@ typedef int (*rtems_filesystem_fdatasync_t)(
rtems_libio_t *iop
);
+typedef int (*rtems_filesystem_fcntl_t)(
+ int cmd,
+ rtems_libio_t *iop
+);
+
typedef struct {
rtems_filesystem_open_t open;
rtems_filesystem_close_t close;
@@ -128,6 +133,7 @@ typedef struct {
rtems_filesystem_fpathconf_t fpathconf;
rtems_filesystem_fsync_t fsync;
rtems_filesystem_fdatasync_t fdatasync;
+ rtems_filesystem_fcntl_t fcntl;
} rtems_filesystem_file_handlers_r;
/*