ReactOS  0.4.15-dev-3207-ga415bd4
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.


#define __UNISTD_GETOPT__


int ftruncate (int, off_t)

Macro Definition Documentation


#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.



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().