Author: Stan Eisenstat
Subject: Re: [Cs323] st_ino type
Date: Tuesday, 15 Sep 2020, 14:21:22
> Message Posted By: Unknown
>
> is the type of st_ino: ino_t?
>
> is this something local to the stat.h file or is ino_t always used?
Yes, the type of the st_ino field is ino_t.
I am not sure in which #include file the typedef for
ino_t appears or which fundamental type (i.e., int,
unsigned int, long, ...) it is defined as. If you
need a variable tto hold the value of st_ino, you
should use one of ttype ino_t. That way your code
will work no matter what ino_t is typedef'd as.
--Stan-
PREV
INDEX
NEXT