Print this page
10097 indenting fixes in usr/src/{lib,common}


   6  * You may not use this file except in compliance with the License.
   7  *
   8  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
   9  * or http://www.opensolaris.org/os/licensing.
  10  * See the License for the specific language governing permissions
  11  * and limitations under the License.
  12  *
  13  * When distributing Covered Code, include this CDDL HEADER in each
  14  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  15  * If applicable, add the following below this CDDL HEADER, with the
  16  * fields enclosed by brackets "[]" replaced with your own identifying
  17  * information: Portions Copyright [yyyy] [name of copyright owner]
  18  *
  19  * CDDL HEADER END
  20  */
  21 /*
  22  * Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
  23  * Use is subject to license terms.
  24  */
  25 




  26 #include <stdlib.h>
  27 #include <stdio.h>
  28 #include <sys/types.h>
  29 #include <unistd.h>
  30 #include <libintl.h>
  31 #include <errno.h>
  32 #include <string.h>
  33 #include <assert.h>
  34 #include <getopt.h>
  35 #include <cmdparse.h>
  36 
  37 
  38 /* Usage types */
  39 #define GENERAL_USAGE   1
  40 #define DETAIL_USAGE    2
  41 
  42 /* printable ascii character set len */
  43 #define MAXOPTIONS      (uint_t)('~' - '!' + 1)
  44 
  45 /*




   6  * You may not use this file except in compliance with the License.
   7  *
   8  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
   9  * or http://www.opensolaris.org/os/licensing.
  10  * See the License for the specific language governing permissions
  11  * and limitations under the License.
  12  *
  13  * When distributing Covered Code, include this CDDL HEADER in each
  14  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  15  * If applicable, add the following below this CDDL HEADER, with the
  16  * fields enclosed by brackets "[]" replaced with your own identifying
  17  * information: Portions Copyright [yyyy] [name of copyright owner]
  18  *
  19  * CDDL HEADER END
  20  */
  21 /*
  22  * Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
  23  * Use is subject to license terms.
  24  */
  25 
  26 /*
  27  * Copyright (c) 2018, Joyent, Inc.
  28  */
  29 
  30 #include <stdlib.h>
  31 #include <stdio.h>
  32 #include <sys/types.h>
  33 #include <unistd.h>
  34 #include <libintl.h>
  35 #include <errno.h>
  36 #include <string.h>
  37 #include <assert.h>
  38 #include <getopt.h>
  39 #include <cmdparse.h>
  40 
  41 
  42 /* Usage types */
  43 #define GENERAL_USAGE   1
  44 #define DETAIL_USAGE    2
  45 
  46 /* printable ascii character set len */
  47 #define MAXOPTIONS      (uint_t)('~' - '!' + 1)
  48 
  49 /*