Changeset 1225 for trunk/src/kash/shfile.c
- Timestamp:
- Oct 8, 2007, 3:40:32 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kash/shfile.c
r1222 r1225 42 42 } 43 43 44 int shfile_pipe(shfdtab *pfdtab, int fds[2]) 45 { 46 return -1; 47 } 48 49 int shfile_dup(shfdtab *pfdtab, int fd) 50 { 51 return -1; 52 } 44 53 45 54 int shfile_close(shfdtab *pfdtab, unsigned fd) 46 55 { 47 // return close(fd);48 56 return -1; 49 57 } 50 58 59 long shfile_read(shfdtab *pfdtab, int fd, void *buf, size_t len) 60 { 61 return -1; 62 } 63 64 long shfile_write(shfdtab *pfdtab, int fd, const void *buf, size_t len) 65 { 66 return -1; 67 } 68 69 long shfile_lseek(shfdtab *pfdtab, int fd, long off, int whench) 70 { 71 return -1; 72 } 73 74 int shfile_fcntl(shfdtab *pfdtab, int fd, int cmd, int arg) 75 { 76 return -1; 77 } 78 79 int shfile_stat(shfdtab *pfdtab, const char *path, struct stat *pst) 80 { 81 return -1; 82 } 83 84 int shfile_lstat(shfdtab *pfdtab, const char *link, struct stat *pst) 85 { 86 return -1; 87 } 88 89 int shfile_chdir(shfdtab *pfdtab, const char *path) 90 { 91 return -1; 92 } 93 94 char *shfile_getcwd(shfdtab *pfdtab, char *buf, int len) 95 { 96 return NULL; 97 } 98 99 int shfile_access(shfdtab *pfdtab, const char *path, int type) 100 { 101 return -1; 102 } 103 104 int shfile_isatty(shfdtab *pfdtab, int fd) 105 { 106 return 0; 107 } 108 109 110 int shfile_ioctl(shfdtab *pfdtab, int fd, unsigned long request, void *buf) 111 { 112 return -1; 113 } 114 115 mode_t shfile_get_umask(shfdtab *pfdtab) 116 { 117 return 022; 118 } 119 120 121 shdir *shfile_opendir(shfdtab *pfdtab, const char *dir) 122 { 123 return NULL; 124 } 125 126 shdirent *shfile_readdir(struct shdir *pdir) 127 { 128 return NULL; 129 } 130 131 void shfile_closedir(struct shdir *pdir) 132 { 133 134 }
Note:
See TracChangeset
for help on using the changeset viewer.