]> ncurses.scripts.mit.edu Git - ncurses.git/blobdiff - progs/progs.priv.h
ncurses 5.1
[ncurses.git] / progs / progs.priv.h
index 3384d37c4e6dea01c97e86a765539ffb4ab5aab2..2d22c9ad1a8af375c26e3770e4be30688c633df8 100644 (file)
@@ -1,5 +1,5 @@
 /****************************************************************************
- * Copyright (c) 1998 Free Software Foundation, Inc.                        *
+ * Copyright (c) 1998-2000 Free Software Foundation, Inc.                   *
  *                                                                          *
  * Permission is hereby granted, free of charge, to any person obtaining a  *
  * copy of this software and associated documentation files (the            *
@@ -30,7 +30,7 @@
  *  Author: Thomas E. Dickey <dickey@clark.net> 1997,1998                   *
  ****************************************************************************/
 /*
- * $Id: progs.priv.h,v 1.19 1999/02/23 11:10:32 tom Exp $
+ * $Id: progs.priv.h,v 1.22 2000/04/08 23:47:39 tom Exp $
  *
  *     progs.priv.h
  *
@@ -123,6 +123,18 @@ extern int optind;
 #define EXIT_FAILURE 1
 #endif
 
+#ifndef R_OK
+#define        R_OK    4               /* Test for readable.  */
+#endif
+
+#ifndef W_OK
+#define        W_OK    2               /* Test for writable.  */
+#endif
+
+#ifndef X_OK
+#define        X_OK    1               /* Test for executable.  */
+#endif
+
 #ifndef F_OK
 #define        F_OK    0               /* Test for existence.  */
 #endif