Rename UL_GETSIZE to UL_GETFSIZE and UL_SETSIZE to UL_SETFSIZE; these are

the names required by 1003.1-2001. The old names are retained for
source compatibility with FreeBSD 5.0 and will be removed before 6.0.
This commit is contained in:
Tim J. Robbins
2003-01-04 01:11:49 +00:00
parent 91c6113bdc
commit 86e1d4729f
3 changed files with 17 additions and 8 deletions
+11 -2
View File
@@ -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, ...);