Print this page
    
5187 missing functions in stdlib.h : mkostemp, mkostemps & mkdtemp
Reviewed by: Dan McDonald <danmcd@omniti.com>
    
      
        | Split | 
	Close | 
      
      | Expand all | 
      | Collapse all | 
    
    
          --- old/usr/src/test/libc-tests/cfg/symbols/stdlib_h.cfg
          +++ new/usr/src/test/libc-tests/cfg/symbols/stdlib_h.cfg
   1    1  #
   2    2  # This file and its contents are supplied under the terms of the
   3    3  # Common Development and Distribution License ("CDDL"), version 1.0.
  
    | 
      ↓ open down ↓ | 
    3 lines elided | 
    
      ↑ open up ↑ | 
  
   4    4  # You may only use this file in accordance with the terms of version
   5    5  # 1.0 of the CDDL.
   6    6  #
   7    7  # A full copy of the text of the CDDL should have accompanied this
   8    8  # source.  A copy of the CDDL is also available via the Internet at
   9    9  # http://www.illumos.org/license/CDDL.
  10   10  #
  11   11  
  12   12  #
  13   13  # Copyright 2015 Garrett D'Amore <garrett@damore.org>
       14 +# Copyright 2015, OmniTI Computer Consulting, Inc. All Rights Reserved.
  14   15  #
  15   16  
  16   17  #
  17   18  # Definitions found in stdlib.h
  18   19  #
  19   20  
  20   21  #
  21   22  # Types.
  22   23  #
  23   24  type |  size_t          | stdlib.h | ALL
  24   25  
  25   26  #
  26   27  # Values.
  27   28  #
  28   29  value | EXIT_FAILURE    | int           | stdlib.h | ALL
  29   30  value | EXIT_SUCCESS    | int           | stdlib.h | ALL
  30   31  value | NULL            | void *        | stdlib.h | ALL
  31   32  
  32   33  #
  33   34  # Functions
  34   35  #
  35   36  func |  calloc                                                          |\
  36   37          void *                                                          |\
  37   38          size_t; size_t                                                  |\
  38   39          stdlib.h                                                        |\
  39   40          ALL
  40   41  
  41   42  func |  exit                                                            |\
  42   43          void                                                            |\
  43   44          int                                                             |\
  44   45          stdlib.h                                                        |\
  45   46          ALL
  46   47  
  47   48  func |  free                                                            |\
  
    | 
      ↓ open down ↓ | 
    24 lines elided | 
    
      ↑ open up ↑ | 
  
  48   49          void                                                            |\
  49   50          void *                                                          |\
  50   51          stdlib.h                                                        |\
  51   52          ALL
  52   53  
  53   54  func |  malloc                                                          |\
  54   55          void *                                                          |\
  55   56          size_t                                                          |\
  56   57          stdlib.h                                                        |\
  57   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+
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX