Print this page
5187 missing functions in stdlib.h : mkostemp, mkostemps & mkdtemp
Reviewed by: Dan McDonald <danmcd@omniti.com>
Reviewed by: Igor Kozhukhov <ikozhukhov@gmail.com>
   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


  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






























   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


  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+