ReactOS  0.4.15-dev-425-gc40b086
unistd.h File Reference
#include <io.h>
#include <process.h>
#include <getopt.h>
Include dependency graph for unistd.h:

Go to the source code of this file.

Macros

#define __UNISTD_GETOPT__
 
#define FTRUNCATE_DEFINED
 

Functions

int ftruncate (int, off_t)
 

Macro Definition Documentation

◆ __UNISTD_GETOPT__

#define __UNISTD_GETOPT__

This file has no copyright assigned and is placed in the Public Domain. This file is part of the w64 mingw-runtime package. No warranty is given; refer to the file DISCLAIMER within this package.

Definition at line 17 of file unistd.h.

◆ FTRUNCATE_DEFINED

#define FTRUNCATE_DEFINED

Definition at line 26 of file unistd.h.

Function Documentation

◆ ftruncate()

__CRT_INLINE int ftruncate ( int  __fd,
off_t  __length 
)

Definition at line 30 of file unistd.h.

31 {
32  return _chsize (__fd, __length);
33 }
_Check_return_ _CRTIMP int __cdecl _chsize(_In_ int _FileHandle, _In_ long _Size)

Referenced by ftruncate_growable(), and main().