Home
last modified time | relevance | path

Searched refs:fno (Results 1 – 3 of 3) sorted by relevance

/CafeSDK-2.12.13/system/src/lib/libsys/
Dind_io.h20 int write (int fno, const void *buf, int size);
21 int read (int fno, void *buf, int size);
24 int close (int fno);
28 long long lseek (int fno, long long offset, int end);
30 long lseek (int fno, long offset, int end);
33 int fcntl (int fno, int cmd, int arg);
37 int __ghs_hostio_write (int fno, const void *buf, int size);
38 int __ghs_hostio_read (int fno, void *buf, int size);
41 int __ghs_hostio_close (int fno);
42 long __ghs_hostio_lseek (int fno, long offset, int end);
[all …]
Dind_io.c77 int __ghs_hostio_write (int fno, const void *buf, int size) in __ghs_hostio_write() argument
79 if (fno == 1 || fno == 2) { in __ghs_hostio_write()
84 return __ghs_syscall(SYSCALL_WRITE, fno, buf, size); in __ghs_hostio_write()
91 int __ghs_hostio_write (int fno, const void *buf, int size)
94 return __ghs_syscall(SYSCALL_WRITE, fno, buf, size);
111 int __ghs_hostio_read (int fno, void *buf, int size) in __ghs_hostio_read() argument
114 return __ghs_syscall(SYSCALL_READ, fno, buf, size); in __ghs_hostio_read()
203 int __ghs_hostio_close (int fno) in __ghs_hostio_close() argument
206 return __ghs_syscall(SYSCALL_CLOSE, fno); in __ghs_hostio_close()
224 off_t __ghs_hostio_lseek (int fno, off_t offset, int end) in __ghs_hostio_lseek() argument
[all …]
Dind_stat.c50 int fstat(int fno, struct stat *statptr) { in fstat() argument
62 if (__ghs_syscall(SYSCALL_GETFDATTR, fno, &tmp, in fstat()