home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 15 / 15.iso / s / s053 / 8.ddi / usr / include / sys / auxv.h < prev    next >
Encoding:
C/C++ Source or Header  |  1990-12-08  |  1.0 KB  |  40 lines

  1. /*    Copyright (c) 1990 UNIX System Laboratories, Inc.    */
  2. /*    Copyright (c) 1984, 1986, 1987, 1988, 1989, 1990 AT&T    */
  3. /*      All Rights Reserved      */
  4.  
  5. /*    THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF         */
  6. /*    UNIX System Laboratories, Inc.                         */
  7. /*    The copyright notice above does not evidence any       */
  8. /*    actual or intended publication of such source code.    */
  9.  
  10. #ifndef _AUXV_H
  11. #define _AUXV_H
  12.  
  13. #ident    "@(#)/usr/include/sys/auxv.h.sl 1.1 4.0 12/08/90 2994 AT&T-USL"
  14. typedef struct
  15. {
  16.        int     a_type;
  17.        union {
  18.                long    a_val;
  19. #ifdef __STDC__
  20.                void    *a_ptr;
  21. #else
  22.                char    *a_ptr;
  23. #endif
  24.                void    (*a_fcn)();
  25.        } a_un;
  26. } auxv_t;
  27.  
  28. #define AT_NULL        0
  29. #define AT_IGNORE    1
  30. #define AT_EXECFD    2
  31. #define AT_PHDR        3    /* &phdr[0] */
  32. #define AT_PHENT    4    /* sizeof(phdr[0]) */
  33. #define AT_PHNUM    5    /* # phdr entries */
  34. #define AT_PAGESZ    6    /* getpagesize(2) */
  35. #define AT_BASE        7    /* ld.so base addr */
  36. #define AT_FLAGS    8    /* processor flags */
  37. #define AT_ENTRY    9    /* a.out entry point */
  38.  
  39. #endif
  40.