Tcl_SetErrno man page on UnixWare

Man page or keyword search:  
man Server   3616 pages
apropos Keyword Search (all sections)
Output format
UnixWare logo
[printable version]

Tcl_SetErrno(3)		    Tcl Library Procedures	       Tcl_SetErrno(3)

______________________________________________________________________________

NAME
       Tcl_SetErrno,  Tcl_GetErrno  -  manipulate  errno to store and retrieve
       error codes

SYNOPSIS
       #include <tcl.h>

       void
       Tcl_SetErrno(errorCode)

       int
       Tcl_GetErrno()

ARGUMENTS
       int	    errorCode	 (in)	   A POSIX error code such as ENOENT.
_________________________________________________________________

DESCRIPTION
       Tcl_SetErrno and Tcl_GetErrno provide  portable	access	to  the	 errno
       variable, which is used to record a POSIX error code after system calls
       and other operations such as Tcl_Gets.  These procedures are  necessary
       because	global	variable  accesses cannot be made across module bound‐
       aries on some platforms.

       Tcl_SetErrno sets the errno variable to	the  value  of	the  errorCode
       argument	 C  procedures	that wish to return error information to their
       callers via errno should call Tcl_SetErrno rather  than	setting	 errno
       directly.

       Tcl_GetErrno returns the current value of errno.	 Procedures wishing to
       access errno should call this  procedure	 instead  of  accessing	 errno
       directly.

KEYWORDS
       errno, error code, global variables

Tcl				      7.5		       Tcl_SetErrno(3)
[top]
                             _         _         _ 
                            | |       | |       | |     
                            | |       | |       | |     
                         __ | | __ __ | | __ __ | | __  
                         \ \| |/ / \ \| |/ / \ \| |/ /  
                          \ \ / /   \ \ / /   \ \ / /   
                           \   /     \   /     \   /    
                            \_/       \_/       \_/ 
More information is available in HTML format for server UnixWare

List of man pages available for UnixWare

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net