[LCP]typedefs in .h

Emil Tantilov emocom at yahoo.com
Sat Jan 19 07:37:08 UTC 2002


Hi All,

 I'm fairly new into C programming, in general I'm
doing it for fun (mostly). Anyway here's my question:

 "man fstat" returns for the structure below:
struct stat {
  dev_t               st_dev;   
  ino_t               st_ino;   
  mode_t              st_mode;  
  nlink_t             st_nlink; 
  uid_t               st_uid;   
  gid_t               st_gid;   
  dev_t               st_rdev;  
  off_t               st_size;  
  unsigned long       st_blksize;  
  unsigned long       st_blocks;   
  time_t              st_atime;    
  time_t              st_mtime;    
  time_t              st_ctime;    
};

Is there a fast and convinient way of finding the
actual type (int, long, char, struct ...) for uid_t,
dev_t, time_t, and all those types defined into the
headers (buried to be precise)?

Thanks in advance,

Emil

__________________________________________________
Do You Yahoo!?
Send FREE video emails in Yahoo! Mail!
http://promo.yahoo.com/videomail/



More information about the linuxCprogramming mailing list