-/* $NetBSD: syslimits.h,v 1.23 2005/12/11 12:25:21 christos Exp $ */\r
+/** @file\r
+ Platform specific values for <limits.h>.\r
+\r
+ Copyright (c) 2010 - 2012, Intel Corporation. All rights reserved.<BR>\r
+ This program and the accompanying materials are licensed and made available under\r
+ the terms and conditions of the BSD License that accompanies this distribution.\r
+ The full text of the license may be found at\r
+ http://opensource.org/licenses/bsd-license.\r
+\r
+ THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
+ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
\r
-/*\r
* Copyright (c) 1988, 1993\r
* The Regents of the University of California. All rights reserved.\r
*\r
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF\r
* SUCH DAMAGE.\r
*\r
- * @(#)syslimits.h 8.1 (Berkeley) 6/2/93\r
- */\r
+ * syslimits.h 8.1 (Berkeley) 6/2/93\r
+ * NetBSD: syslimits.h,v 1.23 2005/12/11 12:25:21 christos Exp\r
+**/\r
\r
#ifndef _SYS_SYSLIMITS_H_\r
#define _SYS_SYSLIMITS_H_\r
\r
#include <sys/featuretest.h>\r
\r
-#define ARG_MAX (2 * 1024) /* max bytes for an exec function */\r
-#ifndef CHILD_MAX\r
- #define CHILD_MAX 128 /* max simultaneous processes */\r
-#endif\r
-#define MAX_INPUT 255 /* max bytes in terminal input */\r
-#define NAME_MAX 255 /* max bytes in a file name */\r
+#define ARG_MAX (2 * 1024) ///< Maximum bytes for an exec function.\r
+#define ARGC_MAX (64) ///< Maximum value for argc.\r
+\r
+#define MAX_INPUT 255 ///< Maximum bytes in terminal input.\r
+#define MAX_OUTPUT 255 ///< Maximum bytes in terminal output.\r
+#define NAME_MAX 255 ///< Maximum bytes in a file name.\r
#ifndef OPEN_MAX\r
- #define OPEN_MAX 20 /* max open files per process */\r
+ #define OPEN_MAX 20 ///< Maximum open files per process.\r
+#endif\r
+#define PATH_MAX 1024 ///< Maximum bytes in pathname.\r
+#define PIPE_BUF 512 ///< Maximum bytes for atomic pipe writes.\r
+\r
+#ifndef CHILD_MAX\r
+ #define CHILD_MAX 128 ///< Maximum simultaneous processes.\r
#endif\r
-#define PATH_MAX 1024 /* max bytes in pathname */\r
-#define PIPE_BUF 512 /* max bytes for atomic pipe writes */\r
\r
-#define LOGIN_NAME_MAX 17 /* max login name length incl. NUL */\r
+#define LOGIN_NAME_MAX 17 ///< Maximum login name length including the NUL.\r
\r
#endif /* !_SYS_SYSLIMITS_H_ */\r