Print this page
remove support for non-ANSI compilation


   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 /*      Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T     */
  22 /*        All Rights Reserved   */
  23 
  24 
  25 /*


  26  * Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
  27  * Use is subject to license terms.
  28  */
  29 /*
  30  * Copyright (c) 2012, Joyent, Inc.  All rights reserved.
  31  */
  32 
  33 #ifndef _SYS_AUXV_H
  34 #define _SYS_AUXV_H
  35 
  36 #include <sys/types.h>
  37 
  38 #ifdef  __cplusplus
  39 extern "C" {
  40 #endif
  41 
  42 #if !defined(_ASM)
  43 typedef struct
  44 {
  45         int     a_type;
  46         union {
  47                 long    a_val;
  48 #ifdef __STDC__
  49                 void    *a_ptr;
  50 #else
  51                 char    *a_ptr;
  52 #endif
  53                 void    (*a_fcn)();
  54         } a_un;
  55 } auxv_t;
  56 
  57 #if defined(_SYSCALL32)
  58 
  59 typedef struct {
  60         int32_t a_type;
  61         union   {
  62                 int32_t a_val;
  63                 caddr32_t a_ptr;
  64                 caddr32_t a_fcn;
  65         } a_un;
  66 } auxv32_t;
  67 
  68 #endif  /* _SYSCALL32 */
  69 
  70 #endif /* _ASM */
  71 
  72 #define AT_NULL         0




   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 /*      Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T     */
  22 /*        All Rights Reserved   */
  23 
  24 
  25 /*
  26  * Copyright 2014 Garrett D'Amore <garrett@damore.org>
  27  *
  28  * Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
  29  * Use is subject to license terms.
  30  */
  31 /*
  32  * Copyright (c) 2012, Joyent, Inc.  All rights reserved.
  33  */
  34 
  35 #ifndef _SYS_AUXV_H
  36 #define _SYS_AUXV_H
  37 
  38 #include <sys/types.h>
  39 
  40 #ifdef  __cplusplus
  41 extern "C" {
  42 #endif
  43 
  44 #if !defined(_ASM)
  45 typedef struct
  46 {
  47         int     a_type;
  48         union {
  49                 long    a_val;

  50                 void    *a_ptr;



  51                 void    (*a_fcn)();
  52         } a_un;
  53 } auxv_t;
  54 
  55 #if defined(_SYSCALL32)
  56 
  57 typedef struct {
  58         int32_t a_type;
  59         union   {
  60                 int32_t a_val;
  61                 caddr32_t a_ptr;
  62                 caddr32_t a_fcn;
  63         } a_un;
  64 } auxv32_t;
  65 
  66 #endif  /* _SYSCALL32 */
  67 
  68 #endif /* _ASM */
  69 
  70 #define AT_NULL         0