Sun Microsystems, Inc.
spacerspacer
spacer   www.sun.com docs.sun.com | | |  
spacer
black dot
   
A   B   C   D   E   F   G   H   I   J   K   L   M   N   O   P   Q   R   S   T   U   V   W   X   Y   Z
    
 
TNF Library Functionstnfctl_strerror(3TNF)


NAME

 tnfctl_strerror - map a tnfctl error code to a string

SYNOPSIS

 
cc [ flag ... ] file ... -ltnfctl [ library ... ]
#include <tnf/tnfctl.h>
const char * tnfctl_strerror(tnfctl_errcode_t errcode);

DESCRIPTION

 

tnfctl_strerror() maps the error number in errcode to an error message string, and it returns a pointer to that string. The returned string should not be overwritten or freed.

ERRORS

 

tnfctl_strerror() returns the string "unknown libtnfctl.so error code" if the error number is not within the legal range.

ATTRIBUTES

 

See attributes(5) for descriptions of the following attributes:

ATTRIBUTE TYPEATTRIBUTE VALUE
AvailabilitySUNWtnfc
MT LevelMT-Safe

SEE ALSO

 

prex(1), TNF_PROBE(3TNF), libtnfctl(3TNF), tracing(3TNF), attributes(5)


SunOS 5.9Go To TopLast Changed 4 Mar 1997

 
      
      
Copyright 2002 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.