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 #
  15 
  16 #
  17 # Definitions found in stdlib.h
  18 #
  19 
  20 #
  21 # Types.
  22 #
  23 type |  size_t          | stdlib.h | ALL
  24 
  25 #
  26 # Values.
  27 #
  28 value | EXIT_FAILURE    | int           | stdlib.h | ALL
  29 value | EXIT_SUCCESS    | int           | stdlib.h | ALL
  30 value | NULL            | void *        | stdlib.h | ALL
  31 
  32 #
  33 # Functions
  34 #
  35 func |  calloc                                                          |\
  36         void *                                                          |\
  37         size_t; size_t                                                  |\
  38         stdlib.h                                                        |\
  39         ALL
  40 
  41 func |  exit                                                            |\
  42         void                                                            |\
  43         int                                                             |\
  44         stdlib.h                                                        |\
  45         ALL
  46 
  47 func |  free                                                            |\
  48         void                                                            |\
  49         void *                                                          |\
  50         stdlib.h                                                        |\
  51         ALL
  52 
  53 func |  malloc                                                          |\
  54         void *                                                          |\
  55         size_t                                                          |\
  56         stdlib.h                                                        |\
  57         ALL