VirtualBox

source: vbox/trunk/src/VBox/Additions/WINNT/Graphics/Wine/include/msvcrt/fcntl.h@ 16410

最後變更 在這個檔案從16410是 16410,由 vboxsync 提交於 16 年 前

export the Wine stuff to OSE

  • 屬性 svn:eol-style 設為 native
檔案大小: 1.2 KB
 
1/*
2 * File definitions
3 *
4 * Derived from the mingw header written by Colin Peters.
5 * Modified for Wine use by Jon Griffiths and Francois Gouget.
6 * This file is in the public domain.
7 */
8#ifndef __WINE_FCNTL_H
9#define __WINE_FCNTL_H
10#ifndef __WINE_USE_MSVCRT
11#define __WINE_USE_MSVCRT
12#endif
13
14#define _O_RDONLY 0
15#define _O_WRONLY 1
16#define _O_RDWR 2
17#define _O_ACCMODE (_O_RDONLY|_O_WRONLY|_O_RDWR)
18#define _O_APPEND 0x0008
19#define _O_RANDOM 0x0010
20#define _O_SEQUENTIAL 0x0020
21#define _O_TEMPORARY 0x0040
22#define _O_NOINHERIT 0x0080
23#define _O_CREAT 0x0100
24#define _O_TRUNC 0x0200
25#define _O_EXCL 0x0400
26#define _O_SHORT_LIVED 0x1000
27#define _O_TEXT 0x4000
28#define _O_BINARY 0x8000
29#define _O_RAW _O_BINARY
30
31
32#define O_RDONLY _O_RDONLY
33#define O_WRONLY _O_WRONLY
34#define O_RDWR _O_RDWR
35#define O_ACCMODE _O_ACCMODE
36#define O_APPEND _O_APPEND
37#define O_RANDOM _O_RANDOM
38#define O_SEQENTIAL _O_SEQUENTIAL
39#define O_TEMPORARY _O_TEMPORARY
40#define O_NOINHERIT _O_NOINHERIT
41#define O_CREAT _O_CREAT
42#define O_TRUNC _O_TRUNC
43#define O_EXCL _O_EXCL
44#define O_TEXT _O_TEXT
45#define O_BINARY _O_BINARY
46#define O_RAW _O_BINARY
47
48#endif /* __WINE_FCNTL_H */
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette