Subversion Repositories HelenOS

Compare Revisions

Ignore whitespace Rev 2434 → Rev 2435

/branches/fs/uspace/fs/stat.h
1,4 → 1,4
/*
/*/*
* Copyright (c) 1987,1997, Prentice Hall
* All rights reserved.
*
32,11 → 32,14
* OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
* EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
/** @addtogroup FileSystemImpl
* @{
*/
 
 
/* Definition of a struct that is used in the stat and fstat calls.
* The information in this struct comes from the i-node of some file.
* These calls are the only approved way to inspect i-nodes.
/**
* @file stat.h
* @brief Definition of a struct that is used in the stat and fstat calls.
*/
 
 
43,11 → 46,19
#ifndef _STAT_H
#define _STAT_H
 
/** The information in this struct comes from the i-node of some file.
* These calls are the only approved way to inspect i-nodes.
*/
typedef struct {
ino_t st_ino; /* i-node number */
mode_t st_mode; /* file mode, protection bits, etc. */
short int st_nlink; /* # links; TEMPORARY HACK: should be nlink_t*/
offset_t st_size; /* file size */
ino_t st_ino; /**< i-node number */
mode_t st_mode; /**< file mode, protection bits, etc. */
short int st_nlink; /**< # links; TEMPORARY HACK: should be nlink_t*/
offset_t st_size; /**< file size */
} stat_t;
 
#endif /* _STAT_H */
 
/**
* }
*/