home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
cset21v1.zip
/
IBMCPP
/
INCLUDE
/
FCNTL.H
< prev
next >
Wrap
Text File
|
1993-09-17
|
2KB
|
54 lines
#pragma info( none )
#ifndef __CHKHDR__
#pragma info( none )
#endif
#pragma info( restore )
#ifndef __fcntl_h
#define __fcntl_h
#ifdef __cplusplus
extern "C" {
#endif
/********************************************************************/
/* <fcntl.h> header file */
/* */
/* Licensed Materials - Property of IBM */
/* */
/* IBM C/C++ Tools Version 2.01 */
/* Copyright (C) International Business Machines Corp., 1991,1993 */
/* All rights reserved */
/* */
/* US Government Users Restricted Rights - */
/* Use, duplication, or disclosure restricted */
/* by GSA ADP Schedule Contract with IBM Corp. */
/* */
/********************************************************************/
#if (defined( __SPC__ ) || defined(__EXTENDED__))
#define O_RDONLY 0x00000004 /* open for read only */
#define O_WRONLY 0x00000001 /* open for write only */
#define O_RDWR 0x00000002 /* open for read and write */
#define O_APPEND 0x00000008 /* writes done at eof */
#define O_CREAT 0x00000100 /* create and open file */
#define O_TRUNC 0x00000200 /* open and truncate */
#define O_EXCL 0x00000400 /* open only if file doesn't already exist */
#define O_TEXT 0x00004000 /* file mode is text (translated) */
#define O_BINARY 0x00008000 /* file mode is binary (untranslated) */
#define O_NOINHERIT 0x00000080 /* child process doesn't inherit file */
#define O_RAW O_BINARY
#endif
#ifdef __cplusplus
}
#endif
#endif
#pragma info( none )
#ifndef __CHKHDR__
#pragma info( restore )
#endif
#pragma info( restore )