Skip to content

Commit

Permalink
(O_DIRECT): Define.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ulrich Drepper committed Mar 1, 2003
1 parent a6963e6 commit c340ced
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@
# define O_DIRECT 0400000 /* Direct disk access. */
# define O_DIRECTORY 040000 /* Must be a directory. */
# define O_NOFOLLOW 0100000 /* Do not follow links. */
# define O_DIRECT 0400000 /* Direct disk access. */
#endif

#ifdef __USE_LARGEFILE64
Expand Down
3 changes: 2 additions & 1 deletion sysdeps/unix/sysv/linux/sparc/bits/fcntl.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* O_*, F_*, FD_* bit values for Linux/SPARC.
Copyright (C) 1995, 1996, 1997, 1998, 2000 Free Software Foundation, Inc.
Copyright (C) 1995,1996,1997,1998,2000,2003 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
Expand Down Expand Up @@ -43,6 +43,7 @@
#ifdef __USE_GNU
# define O_DIRECTORY 0x10000 /* must be a directory */
# define O_NOFOLLOW 0x20000 /* don't follow links */
# define O_DIRECT 0x100000 /* direct disk access hint */
#endif

#ifdef __USE_LARGEFILE64
Expand Down

0 comments on commit c340ced

Please sign in to comment.