Print this page
4176 tolower(3c) refers to nonexistent _tolower(3c)
Reviewed by: Garrett D'Amore <garrett@damore.org>
Reviewed by: Josef Sipek <jeffpc@josefsipek.net>

Split Close
Expand all
Collapse all
          --- old/usr/src/man/man3c/toupper.3c.man.txt
          +++ new/usr/src/man/man3c/toupper.3c.man.txt
↓ open down ↓ 6 lines elided ↑ open up ↑
   7    7  
   8    8  SYNOPSIS
   9    9         #include <ctype.h>
  10   10  
  11   11         int toupper(int c);
  12   12  
  13   13         int toupper_l(int c, locale_t loc);
  14   14  
  15   15  
  16   16  DESCRIPTION
  17      -       The toupper() function has as a domain a type int, the value of which
       17 +       The toupper() function has as a domain of type int, the value of which
  18   18         is representable as an unsigned char or the value of EOF. If the
  19   19         argument has any other value, the argument is returned unchanged. If
  20   20         the argument of toupper() represents a lower-case letter, and there
  21   21         exists a corresponding upper-case letter (as defined by character type
  22   22         information in the locale category LC_CTYPE),   the result is the
  23   23         corresponding upper-case letter. All other arguments in the domain are
  24   24         returned unchanged.
  25   25  
  26   26         The function toupper_l() behaves identically to toupper(), except
  27   27         instead of operating in the current locale, it operates in the locale
  28   28         specified by loc.
  29   29  
       30 +       A macro form, _toupper() exists. It is defined for standards
       31 +       conformance, particularly with legacy standards. It was deprecated in
       32 +       POSIX 2008 (Issue 7), and its use is discouraged. The macro, on this
       33 +       system, is just an alias for toupper().
       34 +
  30   35  RETURN VALUES
  31   36         On successful completion, toupper() returns the upper-case letter
  32   37         corresponding to the argument passed.
  33   38  
  34   39  ERRORS
  35   40         No errors are defined.
  36   41  
  37   42  ATTRIBUTES
  38   43         See attributes(5) for descriptions of the following attributes:
  39   44  
↓ open down ↓ 1 lines elided ↑ open up ↑
  41   46         |  ATTRIBUTE TYPE    | ATTRIBUTE VALUE |
  42   47         +--------------------+-----------------+
  43   48         |CSI                 | Enabled         |
  44   49         +--------------------+-----------------+
  45   50         |Interface Stability | Standard        |
  46   51         +--------------------+-----------------+
  47   52         |MT-Level            | MT-Safe         |
  48   53         +--------------------+-----------------+
  49   54  
  50   55  SEE ALSO
  51      -       _toupper(3C), newlocale(3C), setlocale(3C), uselocale(3C),
  52      -       attributes(5), standards(5)
       56 +       newlocale(3C), setlocale(3C), uselocale(3C), attributes(5),
       57 +       standards(5)
  53   58  
  54   59  
  55   60  
  56      -                                 June 21, 2014                     TOUPPER(3C)
       61 +                                October 4, 2015                    TOUPPER(3C)
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX