/* stat.h
Definitions used for file status functions
Copyright (c) Borland International 1987,1988
All Rights Reserved.
*/
#if __STDC__
#define _Cdecl
#else
#define _Cdecl cdecl
#endif
#ifndef _STAT_H
#define _STAT_H 1
#define S_IFMT 0xF000 /* file type mask */
#define S_IFDIR 0x4000 /* directory */
#define S_IFIFO 0x1000 /* FIFO special */
#define S_IFCHR 0x2000 /* character special */
#define S_IFBLK 0x3000 /* block special */
#define S_IFREG 0x8000 /* or just 0x0000, regular */
#define S_IREAD 0x0100 /* owner may read */
#define S_IWRITE 0x0080 /* owner may write */
#define S_IEXEC 0x0040 /* owner may execute <directory search> */
struct stat
{
short st_dev;
short st_ino;
short st_mode;
short st_nlink;
int st_uid;
int st_gid;
short st_rdev;
long st_size;
long st_atime;
long st_mtime;
long st_ctime;
};
int _Cdecl fstat (int handle, struct stat *statbuf);
int _Cdecl stat (char *path, struct stat *statbuf);
#endif /* _STAT_H */
Definitions used for file status functions
Copyright (c) Borland International 1987,1988
All Rights Reserved.
*/
#if __STDC__
#define _Cdecl
#else
#define _Cdecl cdecl
#endif
#ifndef _STAT_H
#define _STAT_H 1
#define S_IFMT 0xF000 /* file type mask */
#define S_IFDIR 0x4000 /* directory */
#define S_IFIFO 0x1000 /* FIFO special */
#define S_IFCHR 0x2000 /* character special */
#define S_IFBLK 0x3000 /* block special */
#define S_IFREG 0x8000 /* or just 0x0000, regular */
#define S_IREAD 0x0100 /* owner may read */
#define S_IWRITE 0x0080 /* owner may write */
#define S_IEXEC 0x0040 /* owner may execute <directory search> */
struct stat
{
short st_dev;
short st_ino;
short st_mode;
short st_nlink;
int st_uid;
int st_gid;
short st_rdev;
long st_size;
long st_atime;
long st_mtime;
long st_ctime;
};
int _Cdecl fstat (int handle, struct stat *statbuf);
int _Cdecl stat (char *path, struct stat *statbuf);
#endif /* _STAT_H */
Learn More :
Turbo C
- string.h Definitions for memory and string functions
- stdlib.h Definitions for common types, variables, and functions
- stdio.h Definitions for stream input/output
- stddef.h Definitions for common types, NULL, and errno
- stdarg.h Definitions for accessing parameters in functions that accept a variable number of arguments
- signal.h Definitions for ANSI defined signaling capability
- share.h File sharing mode for use with sopen
- setjmp.h Defines typedef and functions for setjmp/longjmp.
- process.h Symbols and structures for process management
- mem.h Memory manipulation functions
- MCOMMAND Programming in C
- MCINPUT Programming in C
- MCDISPLY Programming in C
- MCALC Turbo C Programming
- matherr - user-modifiable math error handler
- math.h Definitions for the math floating point package.
- alloc.h memory management functions and variables
- Precedence of Operators in C++
- #include In C++
- Structure of a program in C++ Learn
- getopt.c -- Turbo C
Programming
- stddef.h Definitions for common types, NULL, and errno
- stdarg.h Definitions for accessing parameters in functions that accept a variable number of arguments
- signal.h Definitions for ANSI defined signaling capability
- setjmp.h Defines typedef and functions for setjmp/longjmp.
- MCOMMAND Programming in C
- MCINPUT Programming in C
- MCDISPLY Programming in C
- MCALC Turbo C Programming
- using namespace std; in C++
- cout << "Hello World!"; in C++
- int main() in C++ Language
- return 0; in C++
- Introduction in String in C++
- Constants in C++
- Calculate Cirrcumfrence Program in C++
- Structure of a program in C++ Learn
- alloc.h Memory Management Functions and Variables
- Defines structs, unions, macros, and functions for dealing with MSDOS and the Intel iAPX86 microprocessor family
- How do I create a configuration file?
- What is a configuration file? in C
- What is the difference between TC.EXE and TCC.EXE?
- How do I run Turbo C?
- How do I install Turbo C?
Definitions
- string.h Definitions for memory and string functions
- stdlib.h Definitions for common types, variables, and functions
- stdio.h Definitions for stream input/output
- stddef.h Definitions for common types, NULL, and errno
- stdarg.h Definitions for accessing parameters in functions that accept a variable number of arguments
- math.h Definitions for the math floating point package.
C
- string.h Definitions for memory and string functions
- stdlib.h Definitions for common types, variables, and functions
- stdio.h Definitions for stream input/output
- stddef.h Definitions for common types, NULL, and errno
- stdarg.h Definitions for accessing parameters in functions that accept a variable number of arguments
- signal.h Definitions for ANSI defined signaling capability
- share.h File sharing mode for use with sopen
- setjmp.h Defines typedef and functions for setjmp/longjmp.
- process.h Symbols and structures for process management
- mem.h Memory manipulation functions
- MCOMMAND Programming in C
- MCINPUT Programming in C
- MCDISPLY Programming in C
- MCALC Turbo C Programming
- matherr - user-modifiable math error handler
- math.h Definitions for the math floating point package.
- alloc.h memory management functions and variables
- alloc.h Memory Management Functions and Variables
- Defines structs, unions, macros, and functions for dealing with MSDOS and the Intel iAPX86 microprocessor family
- How do I create a configuration file?
- What is a configuration file? in C
- What is the difference between TC.EXE and TCC.EXE?
- How do I run Turbo C?
- How do I install Turbo C?
Functions
- string.h Definitions for memory and string functions
- stdlib.h Definitions for common types, variables, and functions
- alloc.h memory management functions and variables
- sizeof() in C++
- Structure of a program in C++ Learn
- io.h Definitions for low level I/O functions.
- dos.h Defines structs, unions, macros, and functions for dealing with MSDOS and the Intel iAPX86 microprocessor family.
- dir.h Defines structures, macros, and functions for dealing with directories and pathnames.