Changeset 9b05600 in rtems for c/src/exec
- Timestamp:
- Jun 14, 2000, 8:22:31 PM (21 years ago)
- Branches:
- 4.10, 4.11, 4.8, 4.9, 5, master
- Children:
- 5e77d129
- Parents:
- 07f0442
- Location:
- c/src/exec
- Files:
-
- 1 added
- 12 edited
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 \
Note: See TracChangeset
for help on using the changeset viewer.