getspinfo(2) getspinfo(2)
NAME
getspinfo - get service provider information
SYNOPSIS
#include <sys/extacct.h>
#include <unistd.h>
int getspinfo(struct acctspi *spi);
DESCRIPTION
The getspinfo function stores the service provider information for the
array session containing the current process into the acctspi struct
pointed to by spi.
The service provider information for an array session is normally
inherited from the array session of the process that created it, or it
can be changed with the privileged setspinfo(2) function. For more
details on service provider information, see the man pages for
setspinfo(2).
getspinfo is provided primarily for compatibility with previous releases
of IRIX. A somewhat more general mechanism for doing the same thing is
provided by the ARSOPGETSPI function of arsop(2).
SEE ALSO
arsop(2), newarraysess(2), setspinfo(2), array_sessions(5), extacct(5).
DIAGNOSTICS
getspinfo returns 0 if successful, or a negative value if an error
occurred.
Page 1