Changeset 881 for trunk/src/ash-messup/shinstance.h
- Timestamp:
- Apr 21, 2007, 10:47:37 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/ash-messup/shinstance.h
r880 r881 27 27 #include "shtypes.h" 28 28 #include "shthread.h" 29 30 /** 31 * One file. 32 */ 33 typedef struct shfile 34 { 35 int fd; /**< The shell file descriptor number. */ 36 int flags; /**< Open flags. */ 37 intptr_t native; /**< The native file descriptor number. */ 38 } shfile; 39 40 /** 41 * The file descriptor table for a shell. 42 */ 43 typedef struct shfdtab 44 { 45 shmtx mtx; /**< Mutex protecting any operations on the table and it's handles. */ 46 unsigned size; /**< The size of the table (number of entries). */ 47 shfile *tab; /**< Pointer to the table. */ 48 } shfdtab; 29 #include "shfile.h" 49 30 50 31 /** … … 155 136 156 137 /* builtins.h */ 157 const char *commandname;158 138 159 139 } shinstance;
Note:
See TracChangeset
for help on using the changeset viewer.