
<dirent.h>中: struct dirent { #ifndef __USE_FILE_OFFSET64 __ino_t d_ino; __off_t d_off; #else __ino64_t d_ino; __off64_t d_off; #endif unsigned short int d_reclen; unsigned char d_type; char d_name[256]; /* We must not include limits.h! */ }; 上面那个注释是什么意思? 谢谢!
by catbert - C/C++ - 2006-09-20 00:09:05 阅读(2727) 回复(1)
在看有关目录操作的问题时,为什么在AIX中的dirent.h中定义的 struct dirent,数组d_name[255]的长度是255,而在sun下面确是 d_name[1],有没有高人给说明一下呢?多谢
struct timespec struct itimerspec数据结构是怎样的,各个数据成员代表什么意义? 在哪里可以得到帮助文档? 谢谢各位解决小弟的问题
struct dirent { long d_ino; /* inode number */ off_t d_off; /* offset to this dirent */ unsigned short d_reclen; /* length of this d_name */ char d_name [NAME_MAX+1]; /* file name (null-terminated) */ } 我调用sys_getdents用到了这个结构 这里的每个参数是什么意思啊?...
#include
typedef struct a { int i; long g; }; main() { a a0={10,20}; a p[2]={a0,a0}; ///???? } 为什么会有错啊?
$typedef struct{ char mtcom[16]; char minvno[11]; char mserno[16]; char mapnbr[16]; int mtvend; } TEMP; $TEMP sttemp; 其中的$是不是相当于EXEC SQL 这种是不是象C中struct