strerrordesc_np(3c) 맨 페이지 - 윈디하나의 솔라나라

개요

섹션
맨 페이지 이름
검색(S)

strerrordesc_np(3c)

strerrordesc_np(3C)      Standard C Library Functions      strerrordesc_np(3C)

NAME
       strerrordesc_np, strerrorname_np - get error name and message strings

SYNOPSIS
       #include <string.h>

       const char *strerrordesc_np(int errnum);


       const char *strerrorname_np(int errnum);

DESCRIPTION
       The  strerrordesc_np()  function maps the error number in errnum to the
       corresponding error message string. It differs from the  standard  str‐
       error()  function  in 2 respects: The returned string is not translated
       according to the current locale, and strerrordesc_np() returns  a  NULL
       result  for  unknown  error  codes, rather than a generated descriptive
       string. See strerror(3C).


       The strerrorname_np() function maps the error number in errnum  to  the
       corresponding  error  name. For example, given EPERM, strerrorname_np()
       returns a pointer to the string "EPERM".

RETURN VALUES
       Upon successful completion, strerrordesc_np() returns a pointer to  the
       error  message  string.  It returns NULL if errnum is not a valid error
       number.


       Upon successful completion, strerrorname_np() returns a pointer to  the
       error  name string. It returns NULL if errnum is not a valid error num‐
       ber.

USAGE
       The strings returned from these functions are not  localized,  and  are
       unaffected  by  the native language specified by the LC_MESSAGES locale
       category.

ATTRIBUTES
       See attributes(7) for descriptions of the following attributes:

       tab() box; cw(2.75i) |cw(2.75i) lw(2.75i) |lw(2.75i) ATTRIBUTE  TYPEAT‐
       TRIBUTE VALUE _ Interface StabilityCommitted _ MT-LevelSafe _ Standard‐
       None


SEE ALSO
       Intro(2), perror(3C), strerror(3C)

HISTORY
       The  strerrordesc_np()  and strerrorname_np() functions were defined in
       GNU glibc 2.32, and were added to Oracle Solaris in the Oracle  Solaris
       11.4.30 release.

Oracle Solaris 11.4               28 Feb 2022              strerrordesc_np(3C)
맨 페이지 내용의 저작권은 맨 페이지 작성자에게 있습니다.
RSS ATOM XHTML 5 CSS3