📄 ifseio.h
字号:
/* *---------------------------------------------------------------------- * T-Kernel / Standard Extension * * Copyright (C) 2006 by Ken Sakamura. All rights reserved. * T-Kernel / Standard Extension is distributed * under the T-License for T-Kernel / Standard Extension. *---------------------------------------------------------------------- * * Version: 1.00.00 * Released by T-Engine Forum(http://www.t-engine.org) at 2006/8/11. * *---------------------------------------------------------------------- */#include <basic.h>#include <extension/seio.h>#include <sys/str_align.h>#include <extension/sys/svc/fnseio.h>typedef struct { const TC *devnm; _align64 const char *connm; _align64 int mode; _align64} SF_ATTACH_PARA;typedef struct { const TC *devnm; _align64 int eject; _align64} SF_DETACH_PARA;typedef struct { const char *path; _align64 int oflag; _align64 mode_t mode; _align64} SF_OPEN_PARA;typedef struct { int fildes; _align64} SF_CLOSE_PARA;typedef struct { int fildes; _align64 off_t offset; _align64 int whence; _align64} SF_LSEEK_PARA;typedef struct { int fildes; _align64 void *buf; _align64 size_t nbyte; _align64} SF_READ_PARA;typedef struct { int fildes; _align64 const void *buf; _align64 size_t nbyte; _align64} SF_WRITE_PARA;typedef struct { int fildes; _align64 struct dirent *buf; _align64 size_t nbyte; _align64} SF_GETDENTS_PARA;typedef struct { int oldd; _align64} SF_DUP_PARA;typedef struct { int oldd; _align64 int newd; _align64} SF_DUP2_PARA;typedef struct { int fd; _align64} SF_FSYNC_PARA;typedef struct { const char *from; _align64 const char *to; _align64} SF_RENAME_PARA;typedef struct { const char *path; _align64} SF_UNLINK_PARA;typedef struct { const char *path; _align64} SF_CHDIR_PARA;typedef struct { int fd; _align64} SF_FCHDIR_PARA;typedef struct { const char *path; _align64 mode_t mode; _align64} SF_CHMOD_PARA;typedef struct { int fd; _align64 mode_t mode; _align64} SF_FCHMOD_PARA;typedef struct { const char *path; _align64 mode_t mode; _align64} SF_MKDIR_PARA;typedef struct { const char *path; _align64} SF_RMDIR_PARA;typedef struct { const char *path; _align64 mode_t mode; _align64} SF_CREAT_PARA;typedef struct { const char *path; _align64 const struct timeval (*times); _align64} SF_UTIMES_PARA;typedef struct { mode_t cmask; _align64} SF_UMASK_PARA;typedef struct { const char *path; _align64 off_t length; _align64} SF_TRUNCATE_PARA;typedef struct { int fildes; _align64 off_t length; _align64} SF_FTRUNCATE_PARA;typedef struct { struct statfs *buf; _align64 long bufsize; _align64 int flags; _align64} SF_GETFSSTAT_PARA;typedef struct { const char *path; _align64 void *buf; _align64} SF_GETLINK_PARA;typedef struct { const char *path; _align64 struct stat *sb; _align64} SF_STAT_PARA;typedef struct { const char *path; _align64 struct stat *sb; _align64} SF_LSTAT_PARA;typedef struct { int fd; _align64 struct stat *sb; _align64} SF_FSTAT_PARA;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -