annotate nt/inc/sys/file.h @ 17403:5c3cd24dd8ee libc-970412 libc-970413 libc-970414 libc-970415 libc-970416 libc-970417 release-1-0

Recognize OpenBSD systems correctly (from Niklas Hallqvist <niklas@appli.se>)
author Ian Lance Taylor <ian@cygnus.com>
date Fri, 11 Apr 1997 20:40:28 +0000
parents cc3c8961d60a
children 841b8916e3b2
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
11766
1877e9736ea1 removed ^Ms
Geoff Voelker <voelker@cs.washington.edu>
parents: 11401
diff changeset
1 /*
15134
cc3c8961d60a (F_OK, X_OK, W_OK, R_OK): New macros.
Geoff Voelker <voelker@cs.washington.edu>
parents: 11766
diff changeset
2 * sys\file.h doesn't exist on NT - only needed for these constants
11766
1877e9736ea1 removed ^Ms
Geoff Voelker <voelker@cs.washington.edu>
parents: 11401
diff changeset
3 */
15134
cc3c8961d60a (F_OK, X_OK, W_OK, R_OK): New macros.
Geoff Voelker <voelker@cs.washington.edu>
parents: 11766
diff changeset
4
cc3c8961d60a (F_OK, X_OK, W_OK, R_OK): New macros.
Geoff Voelker <voelker@cs.washington.edu>
parents: 11766
diff changeset
5 #define F_OK 0
cc3c8961d60a (F_OK, X_OK, W_OK, R_OK): New macros.
Geoff Voelker <voelker@cs.washington.edu>
parents: 11766
diff changeset
6 #define X_OK 1
cc3c8961d60a (F_OK, X_OK, W_OK, R_OK): New macros.
Geoff Voelker <voelker@cs.washington.edu>
parents: 11766
diff changeset
7 #define W_OK 2
cc3c8961d60a (F_OK, X_OK, W_OK, R_OK): New macros.
Geoff Voelker <voelker@cs.washington.edu>
parents: 11766
diff changeset
8 #define R_OK 4