Restore MAXLOGNAME comment, but in slightly different form

This commit is contained in:
Andrey A. Chernov 1997-03-03 08:05:03 +00:00
parent 08a77c42e1
commit 3bf4871a36
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=23319

View File

@ -36,7 +36,7 @@
* SUCH DAMAGE.
*
* @(#)param.h 8.3 (Berkeley) 4/4/95
* $Id: param.h,v 1.22 1997/02/22 09:45:39 peter Exp $
* $Id: param.h,v 1.23 1997/03/02 21:21:08 ache Exp $
*/
#ifndef _SYS_PARAM_H_
@ -59,13 +59,13 @@
* Redefined constants are from POSIX 1003.1 limits file.
*
* MAXCOMLEN should be >= sizeof(ac_comm) (see <acct.h>)
* MAXLOGNAME should be >= UT_NAMESIZE (see <utmp.h>)
* MAXLOGNAME should be >= UT_NAMESIZE+1 (see <utmp.h>)
*/
#include <sys/syslimits.h>
#define MAXCOMLEN 16 /* max command name remembered */
#define MAXINTERP 32 /* max interpreter file name length */
#define MAXLOGNAME 16 /* max login name length */
#define MAXLOGNAME 16 /* max login name length (incl. NUL) */
#define MAXUPRC CHILD_MAX /* max simultaneous processes */
#define NCARGS ARG_MAX /* max bytes for an exec function */
#define NGROUPS NGROUPS_MAX /* max number groups */