home *** CD-ROM | disk | FTP | other *** search
-
-
-
- SSSSLLLLPPPPeeeerrrrrrrroooorrrr((((3333)))) IIIImmmmpppprrrreeeessssssssaaaarrrriiiioooo SSSSLLLLPPPPeeeerrrrrrrroooorrrr((((3333))))
-
-
-
- NNNNAAAAMMMMEEEE
- SLPerror, SLErrorString - obtain libspool execution error messages
-
- SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
- ####iiiinnnncccclllluuuuddddeeee <<<<ssssppppoooooooollll....hhhh>>>>
-
- vvvvooooiiiidddd SSSSLLLLPPPPeeeerrrrrrrroooorrrr((((ccccoooonnnnsssstttt cccchhhhaaaarrrr ****ssss))));;;;
-
- cccchhhhaaaarrrr**** SSSSLLLLEEEErrrrrrrroooorrrrSSSSttttrrrriiiinnnngggg((((iiiinnnntttt eeeerrrrrrrr____ccccooooddddeeee))));;;;
-
- eeeexxxxtttteeeerrrrnnnn iiiinnnntttt SSSSLLLLeeeerrrrrrrrnnnnoooo;;;;
-
- DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- _S_L_P_e_r_r_o_r prints error messages to standard error in a format similar to
- the standard C library function _p_e_r_r_o_r(_3_C). _S_L_E_r_r_o_r_S_t_r_i_n_g returns the
- error string corresponding to the _l_i_b_s_p_o_o_l error code specified by
- _e_r_r__c_o_d_e. The function is similar to the C library function _s_t_r_e_r_r_o_r(_3_C).
-
- If an error occurs during a _l_i_b_s_p_o_o_l function call, the global error
- variable _S_L_e_r_r_n_o will be set with an error code. The symbolic names for
- these error codes are defined in _s_p_o_o_l._h.
-
- The value of _S_L_e_r_r_n_o is used by _S_L_P_e_r_r_o_r as an index to a table of error
- messages. _S_L_e_r_r_n_o can be passed to _S_L_E_r_r_o_r_S_t_r_i_n_g to obtain the _l_i_b_s_p_o_o_l
- error message corresponding to the error code. The variable _S_L_e_r_r_n_o is
- globally available to user programs.
-
- A call to _S_L_P_e_r_r_o_r will print the user-supplied string _s followed by a
- colon (:), a space, and the error message corresponding to the current
- value of _S_L_e_r_r_n_o. If the string _s is the NULL string (""), no colon or
- space will be printed, only the error message.
-
- To be of most use, a call to _S_L_P_e_r_r_o_r should be made immediately
- following the _l_i_b_s_p_o_o_l function call where an error has been detected.
-
- SSSSPPPPOOOOOOOOLLLLIIIINNNNGGGG SSSSYYYYSSSSTTTTEEEEMMMM EEEERRRRRRRROOOORRRRSSSS
- _l_i_b_s_p_o_o_l provides a C interface to the UNIX print spooling systems. In
- fact, many _l_i_b_s_p_o_o_l functions execute the spooling system shell commands.
- If an error has been detected after the execution of a _l_i_b_s_p_o_o_l function
- and _S_L_e_r_r_n_o is found to be set to SSSSLLLL____EEEERRRRRRRR____SSSSPPPPOOOOOOOOLLLLEEEERRRR____EEEERRRRRRRROOOORRRR, this indicates
- that an error has occurred during the execution of a spooling system
- command. Under this condition _S_L_P_e_r_r_o_r will report only that a spooling
- system error has occurred. To obtain the actual spooling system command
- error message(s) and exit status, call the function _S_L_G_e_t_S_p_o_o_l_e_r_E_r_r_o_r(_3).
-
- NNNNOOOOTTTTEEEE
- The global variables _S_L_e_r_r_l_i_s_t and _S_L_n_e_r_r should no longer be referenced.
- The function _S_L_E_r_r_o_r_S_t_r_i_n_g should be used.
-
-
-
-
-
-
-
- PPPPaaaaggggeeee 1111
-
-
-
-
-
-
- SSSSLLLLPPPPeeeerrrrrrrroooorrrr((((3333)))) IIIImmmmpppprrrreeeessssssssaaaarrrriiiioooo SSSSLLLLPPPPeeeerrrrrrrroooorrrr((((3333))))
-
-
-
- SEE ALSO
- SLGetSpoolerError(3), libspool(3)
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- PPPPaaaaggggeeee 2222
-
-
-
-