1 #
   2 # This file and its contents are supplied under the terms of the
   3 # Common Development and Distribution License ("CDDL"), version 1.0.
   4 # You may only use this file in accordance with the terms of version
   5 # 1.0 of the CDDL.
   6 #
   7 # A full copy of the text of the CDDL should have accompanied this
   8 # source.  A copy of the CDDL is also available via the Internet at
   9 # http://www.illumos.org/license/CDDL.
  10 #
  11 
  12 #
  13 # Copyright 2015 Garrett D'Amore <garrett@damore.org>
  14 # Copyright 2015, OmniTI Computer Consulting, Inc. All Rights Reserved.
  15 #
  16 
  17 #
  18 # Definitions found in stdlib.h
  19 #
  20 
  21 #
  22 # Types.
  23 #
  24 type |  size_t          | stdlib.h | ALL
  25 
  26 #
  27 # Values.
  28 #
  29 value | EXIT_FAILURE    | int           | stdlib.h | ALL
  30 value | EXIT_SUCCESS    | int           | stdlib.h | ALL
  31 value | NULL            | void *        | stdlib.h | ALL
  32 
  33 #
  34 # Functions
  35 #
  36 func |  calloc                                                          |\
  37         void *                                                          |\
  38         size_t; size_t                                                  |\
  39         stdlib.h                                                        |\
  40         ALL
  41 
  42 func |  exit                                                            |\
  43         void                                                            |\
  44         int                                                             |\
  45         stdlib.h                                                        |\
  46         ALL
  47 
  48 func |  free                                                            |\
  49         void                                                            |\
  50         void *                                                          |\
  51         stdlib.h                                                        |\
  52         ALL
  53 
  54 func |  malloc                                                          |\
  55         void *                                                          |\
  56         size_t                                                          |\
  57         stdlib.h                                                        |\
  58         ALL
  59 
  60 func |  mkstemp                                                         |\
  61         int                                                             |\
  62         char *                                                          |\
  63         stdlib.h                                                        |\
  64         C90 C99 SUSv1+
  65 
  66 func |  mkostemp                                                        |\
  67         int                                                             |\
  68         char *; int                                                     |\
  69         stdlib.h                                                        |\
  70         -ALL
  71 
  72 func |  mkstemps                                                        |\
  73         int                                                             |\
  74         char *; int                                                     |\
  75         stdlib.h                                                        |\
  76         C90 C99
  77 
  78 func |  mkostemps                                                       |\
  79         int                                                             |\
  80         char *; int; int                                                |\
  81         stdlib.h                                                        |\
  82         -ALL
  83 
  84 func |  mkdtemp                                                         |\
  85         char *                                                          |\
  86         char *                                                          |\
  87         stdlib.h                                                        |\
  88         -ALL SUSv4+