summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorTim J. Robbins <tjr@FreeBSD.org>2003-01-04 01:11:49 +0000
committerTim J. Robbins <tjr@FreeBSD.org>2003-01-04 01:11:49 +0000
commit86e1d4729fea89232dd77d7babb038bc38e9fdd8 (patch)
tree6ca57ca1e07fd281e0ffdca339dc1576317eaa8b /include
parent91c6113bdc0c97ea3263326d824876ac4d1da1a1 (diff)
Notes
Diffstat (limited to 'include')
-rw-r--r--include/ulimit.h13
1 files changed, 11 insertions, 2 deletions
diff --git a/include/ulimit.h b/include/ulimit.h
index 049d382d641d..0828fc621c3d 100644
--- a/include/ulimit.h
+++ b/include/ulimit.h
@@ -31,8 +31,17 @@
#include <sys/cdefs.h>
-#define UL_GETSIZE 1
-#define UL_SETSIZE 2
+#define UL_GETFSIZE 1
+#define UL_SETFSIZE 2
+
+#if __BSD_VISIBLE
+/*
+ * The "F" was mistakenly omitted from the macro names in FreeBSD 5.0.
+ * Do not use these names; they will be removed before 6.0.
+ */
+#define UL_GETSIZE UL_GETFSIZE
+#define UL_SETSIZE UL_SETFSIZE
+#endif
__BEGIN_DECLS
long ulimit(int, ...);