Print this page
2989 Eliminate use of LOGNAME_MAX in ON
1166 useradd have warning with name more 8 chars
   1 '\" te

   2 .\" Copyright (c) 2008, Sun Microsystems, Inc.  All Rights Reserved.
   3 .\" Portions Copyright (c) 1992, X/Open Company Limited.  All Rights Reserved.
   4 .\" Copyright 1989 AT&T
   5 .\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at
   6 .\" http://www.opengroup.org/bookstore/.
   7 .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html.
   8 .\"  This notice shall appear on any product containing this material.
   9 .\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License").  You may not use this file except in compliance with the License.
  10 .\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing.  See the License for the specific language governing permissions and limitations under the License.
  11 .\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE.  If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
  12 .TH SYSCONF 3C "Mar 26, 2008"
  13 .SH NAME
  14 sysconf \- get configurable system variables
  15 .SH SYNOPSIS
  16 .LP
  17 .nf
  18 #include <unistd.h>
  19 
  20 \fBlong\fR \fBsysconf\fR(\fBint\fR \fIname\fR);
  21 .fi


 125 _SC_EXPR_NEST_MAX       EXPR_NEST_MAX              Max number of
 126                                                    parentheses by expr
 127 _SC_FSYNC               _POSIX_FSYNC               Supports File
 128                                                    Synchronization
 129 _SC_GETGR_R_SIZE_MAX                               Max size of group
 130                                                    entry buffer
 131 _SC_GETPW_R_SIZE_MAX                               Max size of password
 132                                                    entry buffer
 133 _SC_HOST_NAME_MAX       _POSIX_HOST_NAME_MAX       Maximum length of a
 134                                                    host name (excluding
 135                                                    terminating null)
 136 _SC_IOV_MAX             IOV_MAX                    Max number of iovec
 137                                                    structures available
 138                                                    to one process for
 139                                                    use with readv()
 140                                                    and writev()
 141 _SC_JOB_CONTROL         _POSIX_JOB_CONTROL         Job control
 142                                                    supported?
 143 _SC_LINE_MAX            LINE_MAX                   Max length of input
 144                                                    line
 145 _SC_LOGIN_NAME_MAX      LOGNAME_MAX + 1            Max length of login
 146                                                    name
 147 _SC_LOGNAME_MAX         LOGNAME_MAX
 148 _SC_MAPPED_FILES        _POSIX_MAPPED_FILES        Supports Memory
 149                                                    Mapped Files
 150 _SC_MAXPID                                         Max pid value
 151 _SC_MEMLOCK             _POSIX_MEMLOCK             Supports Process
 152                                                    Memory Locking
 153 _SC_MEMLOCK_RANGE       _POSIX_MEMLOCK_RANGE       Supports Range
 154                                                    Memory Locking
 155 _SC_MEMORY_PROTECTION   _POSIX_MEMORY_PROTECTION   Supports Memory
 156                                                    Protection
 157 _SC_MESSAGE_PASSING     _POSIX_MESSAGE_PASSING     Supports Message
 158                                                    Passing
 159 _SC_MONOTONIC_CLOCK     _POSIX_MONOTONIC_CLOCK     Supports Monotonic
 160                                                    Clock option
 161 _SC_MQ_OPEN_MAX         MQ_OPEN_MAX                Max number of open
 162                                                    message queues a
 163                                                    process can hold
 164 _SC_MQ_PRIO_MAX         MQ_PRIO_MAX                Max number of
 165                                                    message priorities


   1 '\" te
   2 .\" Copyright (c) 2013 Gary Mills
   3 .\" Copyright (c) 2008, Sun Microsystems, Inc.  All Rights Reserved.
   4 .\" Portions Copyright (c) 1992, X/Open Company Limited.  All Rights Reserved.
   5 .\" Copyright 1989 AT&T
   6 .\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at
   7 .\" http://www.opengroup.org/bookstore/.
   8 .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html.
   9 .\"  This notice shall appear on any product containing this material.
  10 .\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License").  You may not use this file except in compliance with the License.
  11 .\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing.  See the License for the specific language governing permissions and limitations under the License.
  12 .\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE.  If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
  13 .TH SYSCONF 3C "Mar 26, 2008"
  14 .SH NAME
  15 sysconf \- get configurable system variables
  16 .SH SYNOPSIS
  17 .LP
  18 .nf
  19 #include <unistd.h>
  20 
  21 \fBlong\fR \fBsysconf\fR(\fBint\fR \fIname\fR);
  22 .fi


 126 _SC_EXPR_NEST_MAX       EXPR_NEST_MAX              Max number of
 127                                                    parentheses by expr
 128 _SC_FSYNC               _POSIX_FSYNC               Supports File
 129                                                    Synchronization
 130 _SC_GETGR_R_SIZE_MAX                               Max size of group
 131                                                    entry buffer
 132 _SC_GETPW_R_SIZE_MAX                               Max size of password
 133                                                    entry buffer
 134 _SC_HOST_NAME_MAX       _POSIX_HOST_NAME_MAX       Maximum length of a
 135                                                    host name (excluding
 136                                                    terminating null)
 137 _SC_IOV_MAX             IOV_MAX                    Max number of iovec
 138                                                    structures available
 139                                                    to one process for
 140                                                    use with readv()
 141                                                    and writev()
 142 _SC_JOB_CONTROL         _POSIX_JOB_CONTROL         Job control
 143                                                    supported?
 144 _SC_LINE_MAX            LINE_MAX                   Max length of input
 145                                                    line
 146 _SC_LOGIN_NAME_MAX      LOGIN_NAME_MAX             Max length of login
 147                                                    name
 148 _SC_LOGNAME_MAX         LOGNAME_MAX
 149 _SC_MAPPED_FILES        _POSIX_MAPPED_FILES        Supports Memory
 150                                                    Mapped Files
 151 _SC_MAXPID                                         Max pid value
 152 _SC_MEMLOCK             _POSIX_MEMLOCK             Supports Process
 153                                                    Memory Locking
 154 _SC_MEMLOCK_RANGE       _POSIX_MEMLOCK_RANGE       Supports Range
 155                                                    Memory Locking
 156 _SC_MEMORY_PROTECTION   _POSIX_MEMORY_PROTECTION   Supports Memory
 157                                                    Protection
 158 _SC_MESSAGE_PASSING     _POSIX_MESSAGE_PASSING     Supports Message
 159                                                    Passing
 160 _SC_MONOTONIC_CLOCK     _POSIX_MONOTONIC_CLOCK     Supports Monotonic
 161                                                    Clock option
 162 _SC_MQ_OPEN_MAX         MQ_OPEN_MAX                Max number of open
 163                                                    message queues a
 164                                                    process can hold
 165 _SC_MQ_PRIO_MAX         MQ_PRIO_MAX                Max number of
 166                                                    message priorities