Connect to the Purdue Home Page

Purdue University

Identity and Access Management



Introduction to Library Functions                puid_strerror(3)

NAME
     puid_strerror() - translate a PUID internal protocol error
     code to a message

SYNOPSIS
     #include "puid_errno.h"

     char * puid_strerror(int err);

     Also defines: external int puid_errno;

DESCRIPTION
     The puid_strerror function translates a PUID internal error
     code to a message.  The error code is supplied in the err
     argument; the external puid_errno variable may be used for
     err.  A character string pointer to the message is returned.

     Error codes are defined in puid_errno.h.

RETURN VALUES
     The puid_strerror() function returns a character string
     pointer to an error message.  The message might be a con-
     stant string or it might be a buffer statically allocated to
     puid_strerror().

     Therefore, the return pointer and string should be used
     immediately, or saved if another puid_strerror () call will
     occur before it can be used.

     The puid_strerror() is NOT thread-safe.

AUTHOR
     The puid_strerror function was written by Victor A. Abell
     <abe@purdue.edu>.

SEE ALSO
     puidnetd_strerror(3).

SunOS 5.8                 Last change:                          1


  
        

Feedback | Contact Purdue
Maintained by: IAMO Team

Purdue University, West Lafayette, IN 47907, (765) 494-4600
© 2010 - 2013 Purdue University | An equal access/equal opportunity university | Copyright Complaints
If you have trouble accessing this page because of a disability, please contact the CSC at itap@purdue.edu or (765) 494-4000.