PREV INDEX NEXT

Author: Stan Eisenstat
Subject: Re: [Cs323] st_ino
Date: Tuesday, 15 Sep 2020, 08:53:14


    > Message Posted By: Unknown
    >
    > is st_ino a long or unsigned long?

Why do you need to know?  The purpose of using a typedef
in a standard header file to define the st_ino type is
to allow it to correspond to different types (e.g., int
vs long) on different systems.  In turn this allows you
to write a program that will run on any of them without
change.

If the answer is that you want to declare variables to
hold values of type st_ino, the answer is to declare
those variables to be of type st_ino.

--Stan-
PREV INDEX NEXT