Changeset 9b05600 in rtems
- Timestamp:
- 06/14/00 20:22:31 (23 years ago)
- Branches:
- 4.10, 4.11, 4.8, 4.9, 5, master
- Children:
- 5e77d129
- Parents:
- 07f0442
- Files:
-
- 3 added
- 39 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
c/src/exec/libcsupport/include/rtems/libio.h
r07f0442 r9b05600 23 23 #include <sys/types.h> 24 24 #include <sys/stat.h> 25 #include <sys/ioctl.h> 25 26 26 27 /* … … 447 448 448 449 /* 449 * IOCTL values450 */451 452 #define RTEMS_IO_GET_ATTRIBUTES 1453 #define RTEMS_IO_SET_ATTRIBUTES 2454 #define RTEMS_IO_TCDRAIN 3455 #define FIONREAD 4456 457 /*458 450 * The following macros are used to build up the permissions sets 459 451 * used to check permissions. These are similar in style to the -
c/src/exec/libcsupport/include/sys/filio.h
r07f0442 r9b05600 45 45 #include <sys/ioccom.h> 46 46 47 /* RTEMS defines all of these in sys/ioccom.h */ 48 #if 0 47 49 /* Generic file-descriptor ioctl's. */ 48 50 #define FIOCLEX _IO('f', 1) /* set close on exec on fd */ … … 53 55 #define FIOSETOWN _IOW('f', 124, int) /* set owner */ 54 56 #define FIOGETOWN _IOR('f', 123, int) /* get owner */ 57 #endif 55 58 56 59 #endif /* !_SYS_FILIO_H_ */ -
c/src/exec/libcsupport/src/ioctl.c
r07f0442 r9b05600 17 17 #include "libio_.h" 18 18 19 #include <unistd.h> 20 19 21 int ioctl( 20 int 21 unsigned32command,22 void * buffer22 int fd, 23 int command, 24 ... 23 25 ) 24 26 { 27 va_list ap; 25 28 rtems_status_code rc; 26 29 rtems_libio_t *iop; 30 void *buffer; 27 31 28 32 rtems_libio_check_fd( fd ); 29 33 iop = rtems_libio_iop( fd ); 30 34 rtems_libio_check_is_open(iop); 35 36 va_start(ap, command); 37 38 buffer = va_arg(ap, void *); 31 39 32 40 /* -
c/src/exec/libcsupport/src/tcdrain.c
r07f0442 r9b05600 21 21 /* #include <sys/ioctl.h> */ 22 22 23 int ioctl();24 25 23 #include <rtems/libio.h> 26 24 -
c/src/exec/libcsupport/src/tcflow.c
r07f0442 r9b05600 21 21 /* #include <sys/ioctl.h> */ 22 22 23 int ioctl();24 25 23 #include <rtems/libio.h> 26 24 -
c/src/exec/libcsupport/src/tcflush.c
r07f0442 r9b05600 21 21 /* #include <sys/ioctl.h> */ 22 22 23 int ioctl();24 25 23 #include <rtems/libio.h> 26 24 -
c/src/exec/libcsupport/src/tcgetattr.c
r07f0442 r9b05600 21 21 /* #include <sys/ioctl.h> */ 22 22 23 int ioctl();24 25 23 #include <rtems/libio.h> 26 24 -
c/src/exec/libcsupport/src/tcgetprgrp.c
r07f0442 r9b05600 21 21 /* #include <sys/ioctl.h> */ 22 22 23 int ioctl();24 25 23 #include <rtems/libio.h> 26 24 -
c/src/exec/libcsupport/src/tcsendbreak.c
r07f0442 r9b05600 21 21 /* #include <sys/ioctl.h> */ 22 22 23 int ioctl();24 25 23 #include <rtems/libio.h> 26 24 -
c/src/exec/libcsupport/src/tcsetattr.c
r07f0442 r9b05600 20 20 #include <termios.h> 21 21 /* #include <sys/ioctl.h> */ 22 23 int ioctl();24 22 25 23 #include <rtems/libio.h> -
c/src/exec/libcsupport/src/tcsetpgrp.c
r07f0442 r9b05600 21 21 /* #include <sys/ioctl.h> */ 22 22 23 int ioctl();24 25 23 #include <rtems/libio.h> 26 24 -
c/src/exec/libnetworking/sys/Makefile.am
r07f0442 r9b05600 5 5 AUTOMAKE_OPTIONS = foreign 1.4 6 6 7 H_FILES = buf.h callout.h cdefs.h conf.h domain.h filio.h ioccom.h\7 H_FILES = buf.h callout.h cdefs.h conf.h domain.h filio.h \ 8 8 ioctl.h kernel.h libkern.h malloc.h mbuf.h mount.h param.h proc.h \ 9 9 protosw.h queue.h reboot.h resourcevar.h rtprio.h select.h signalvar.h \ -
c/src/lib/include/ioccom.h
r07f0442 r9b05600 38 38 #define _SYS_IOCCOM_H_ 39 39 40 /* the definitions were moved to a common placed so they could be shared */ 41 #include <sys/rtems_ioccom.h> 42 43 #if 0 40 44 /* 41 45 * Ioctl's have the command encoded in the lower word, and the size of … … 62 66 /* this should be _IORW, but stdio got there first */ 63 67 #define _IOWR(g,n,t) _IOC(IOC_INOUT, (g), (n), sizeof(t)) 68 #endif 64 69 65 70 #ifndef KERNEL -
c/src/lib/include/rtems/libio.h
r07f0442 r9b05600 23 23 #include <sys/types.h> 24 24 #include <sys/stat.h> 25 #include <sys/ioctl.h> 25 26 26 27 /* … … 447 448 448 449 /* 449 * IOCTL values450 */451 452 #define RTEMS_IO_GET_ATTRIBUTES 1453 #define RTEMS_IO_SET_ATTRIBUTES 2454 #define RTEMS_IO_TCDRAIN 3455 #define FIONREAD 4456 457 /*458 450 * The following macros are used to build up the permissions sets 459 451 * used to check permissions. These are similar in style to the -
c/src/lib/include/sys/Makefile.am
r07f0442 r9b05600 15 15 endif 16 16 17 H_FILES = utime.h $(NEWLIB_H_FILES) $(NETWORKING_H_FILES)17 H_FILES = ioccom.h utime.h $(NEWLIB_H_FILES) $(NETWORKING_H_FILES) 18 18 19 noinst_HEADERS = utime.h termios.h ioctl.h 19 noinst_HEADERS = utime.h termios.h ioctl.h rtems_ioccom.h 20 20 21 21 PREINSTALL_FILES += $(PROJECT_INCLUDE)/sys \ -
c/src/lib/include/sys/filio.h
r07f0442 r9b05600 45 45 #include <sys/ioccom.h> 46 46 47 /* RTEMS defines all of these in sys/ioccom.h */ 48 #if 0 47 49 /* Generic file-descriptor ioctl's. */ 48 50 #define FIOCLEX _IO('f', 1) /* set close on exec on fd */ … … 53 55 #define FIOSETOWN _IOW('f', 124, int) /* set owner */ 54 56 #define FIOGETOWN _IOR('f', 123, int) /* get owner */ 57 #endif 55 58 56 59 #endif /* !_SYS_FILIO_H_ */ -
c/src/lib/libc/ioctl.c
r07f0442 r9b05600 17 17 #include "libio_.h" 18 18 19 #include <unistd.h> 20 19 21 int ioctl( 20 int 21 unsigned32command,22 void * buffer22 int fd, 23 int command, 24 ... 23 25 ) 24 26 { 27 va_list ap; 25 28 rtems_status_code rc; 26 29 rtems_libio_t *iop; 30 void *buffer; 27 31 28 32 rtems_libio_check_fd( fd ); 29 33 iop = rtems_libio_iop( fd ); 30 34 rtems_libio_check_is_open(iop); 35 36 va_start(ap, command); 37 38 buffer = va_arg(ap, void *); 31 39 32 40 /* -
c/src/lib/libc/libio.h
r07f0442 r9b05600 23 23 #include <sys/types.h> 24 24 #include <sys/stat.h> 25 #include <sys/ioctl.h> 25 26 26 27 /* … … 447 448 448 449 /* 449 * IOCTL values450 */451 452 #define RTEMS_IO_GET_ATTRIBUTES 1453 #define RTEMS_IO_SET_ATTRIBUTES 2454 #define RTEMS_IO_TCDRAIN 3455 #define FIONREAD 4456 457 /*458 450 * The following macros are used to build up the permissions sets 459 451 * used to check permissions. These are similar in style to the -
c/src/lib/libc/tcdrain.c
r07f0442 r9b05600 21 21 /* #include <sys/ioctl.h> */ 22 22 23 int ioctl();24 25 23 #include <rtems/libio.h> 26 24 -
c/src/lib/libc/tcflow.c
r07f0442 r9b05600 21 21 /* #include <sys/ioctl.h> */ 22 22 23 int ioctl();24 25 23 #include <rtems/libio.h> 26 24 -
c/src/lib/libc/tcflush.c
r07f0442 r9b05600 21 21 /* #include <sys/ioctl.h> */ 22 22 23 int ioctl();24 25 23 #include <rtems/libio.h> 26 24 -
c/src/lib/libc/tcgetattr.c
r07f0442 r9b05600 21 21 /* #include <sys/ioctl.h> */ 22 22 23 int ioctl();24 25 23 #include <rtems/libio.h> 26 24 -
c/src/lib/libc/tcgetprgrp.c
r07f0442 r9b05600 21 21 /* #include <sys/ioctl.h> */ 22 22 23 int ioctl();24 25 23 #include <rtems/libio.h> 26 24 -
c/src/lib/libc/tcsendbreak.c
r07f0442 r9b05600 21 21 /* #include <sys/ioctl.h> */ 22 22 23 int ioctl();24 25 23 #include <rtems/libio.h> 26 24 -
c/src/lib/libc/tcsetattr.c
r07f0442 r9b05600 20 20 #include <termios.h> 21 21 /* #include <sys/ioctl.h> */ 22 23 int ioctl();24 22 25 23 #include <rtems/libio.h> -
c/src/lib/libc/tcsetpgrp.c
r07f0442 r9b05600 21 21 /* #include <sys/ioctl.h> */ 22 22 23 int ioctl();24 25 23 #include <rtems/libio.h> 26 24 -
c/src/libnetworking/sys/Makefile.am
r07f0442 r9b05600 5 5 AUTOMAKE_OPTIONS = foreign 1.4 6 6 7 H_FILES = buf.h callout.h cdefs.h conf.h domain.h filio.h ioccom.h\7 H_FILES = buf.h callout.h cdefs.h conf.h domain.h filio.h \ 8 8 ioctl.h kernel.h libkern.h malloc.h mbuf.h mount.h param.h proc.h \ 9 9 protosw.h queue.h reboot.h resourcevar.h rtprio.h select.h signalvar.h \ -
c/src/libnetworking/sys/filio.h
r07f0442 r9b05600 45 45 #include <sys/ioccom.h> 46 46 47 /* RTEMS defines all of these in sys/ioccom.h */ 48 #if 0 47 49 /* Generic file-descriptor ioctl's. */ 48 50 #define FIOCLEX _IO('f', 1) /* set close on exec on fd */ … … 53 55 #define FIOSETOWN _IOW('f', 124, int) /* set owner */ 54 56 #define FIOGETOWN _IOR('f', 123, int) /* get owner */ 57 #endif 55 58 56 59 #endif /* !_SYS_FILIO_H_ */ -
cpukit/libcsupport/include/rtems/libio.h
r07f0442 r9b05600 23 23 #include <sys/types.h> 24 24 #include <sys/stat.h> 25 #include <sys/ioctl.h> 25 26 26 27 /* … … 447 448 448 449 /* 449 * IOCTL values450 */451 452 #define RTEMS_IO_GET_ATTRIBUTES 1453 #define RTEMS_IO_SET_ATTRIBUTES 2454 #define RTEMS_IO_TCDRAIN 3455 #define FIONREAD 4456 457 /*458 450 * The following macros are used to build up the permissions sets 459 451 * used to check permissions. These are similar in style to the -
cpukit/libcsupport/include/sys/filio.h
r07f0442 r9b05600 45 45 #include <sys/ioccom.h> 46 46 47 /* RTEMS defines all of these in sys/ioccom.h */ 48 #if 0 47 49 /* Generic file-descriptor ioctl's. */ 48 50 #define FIOCLEX _IO('f', 1) /* set close on exec on fd */ … … 53 55 #define FIOSETOWN _IOW('f', 124, int) /* set owner */ 54 56 #define FIOGETOWN _IOR('f', 123, int) /* get owner */ 57 #endif 55 58 56 59 #endif /* !_SYS_FILIO_H_ */ -
cpukit/libcsupport/src/ioctl.c
r07f0442 r9b05600 17 17 #include "libio_.h" 18 18 19 #include <unistd.h> 20 19 21 int ioctl( 20 int 21 unsigned32command,22 void * buffer22 int fd, 23 int command, 24 ... 23 25 ) 24 26 { 27 va_list ap; 25 28 rtems_status_code rc; 26 29 rtems_libio_t *iop; 30 void *buffer; 27 31 28 32 rtems_libio_check_fd( fd ); 29 33 iop = rtems_libio_iop( fd ); 30 34 rtems_libio_check_is_open(iop); 35 36 va_start(ap, command); 37 38 buffer = va_arg(ap, void *); 31 39 32 40 /* -
cpukit/libcsupport/src/tcdrain.c
r07f0442 r9b05600 21 21 /* #include <sys/ioctl.h> */ 22 22 23 int ioctl();24 25 23 #include <rtems/libio.h> 26 24 -
cpukit/libcsupport/src/tcflow.c
r07f0442 r9b05600 21 21 /* #include <sys/ioctl.h> */ 22 22 23 int ioctl();24 25 23 #include <rtems/libio.h> 26 24 -
cpukit/libcsupport/src/tcflush.c
r07f0442 r9b05600 21 21 /* #include <sys/ioctl.h> */ 22 22 23 int ioctl();24 25 23 #include <rtems/libio.h> 26 24 -
cpukit/libcsupport/src/tcgetattr.c
r07f0442 r9b05600 21 21 /* #include <sys/ioctl.h> */ 22 22 23 int ioctl();24 25 23 #include <rtems/libio.h> 26 24 -
cpukit/libcsupport/src/tcgetprgrp.c
r07f0442 r9b05600 21 21 /* #include <sys/ioctl.h> */ 22 22 23 int ioctl();24 25 23 #include <rtems/libio.h> 26 24 -
cpukit/libcsupport/src/tcsendbreak.c
r07f0442 r9b05600 21 21 /* #include <sys/ioctl.h> */ 22 22 23 int ioctl();24 25 23 #include <rtems/libio.h> 26 24 -
cpukit/libcsupport/src/tcsetattr.c
r07f0442 r9b05600 20 20 #include <termios.h> 21 21 /* #include <sys/ioctl.h> */ 22 23 int ioctl();24 22 25 23 #include <rtems/libio.h> -
cpukit/libcsupport/src/tcsetpgrp.c
r07f0442 r9b05600 21 21 /* #include <sys/ioctl.h> */ 22 22 23 int ioctl();24 25 23 #include <rtems/libio.h> 26 24 -
cpukit/libnetworking/sys/Makefile.am
r07f0442 r9b05600 5 5 AUTOMAKE_OPTIONS = foreign 1.4 6 6 7 H_FILES = buf.h callout.h cdefs.h conf.h domain.h filio.h ioccom.h\7 H_FILES = buf.h callout.h cdefs.h conf.h domain.h filio.h \ 8 8 ioctl.h kernel.h libkern.h malloc.h mbuf.h mount.h param.h proc.h \ 9 9 protosw.h queue.h reboot.h resourcevar.h rtprio.h select.h signalvar.h \
Note: See TracChangeset
for help on using the changeset viewer.