From af0200363e8d0a69648bd78fd5ee2d0ee5f40624 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Fri, 19 Mar 1999 21:51:58 +0000 Subject: Patch from Eric Norum that adds external fcntl support and an external fcntl handler for sockets. --- c/src/exec/libcsupport/include/rtems/libio.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'c/src/exec/libcsupport/include') 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; /* -- cgit v1.2.3