*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->IRIX man pages -> standard/setash (2)              
Title
Content
Arch
Section
 

Contents


setash(2)							     setash(2)


NAME    [Toc]    [Back]

     setash - set array	session	handle

SYNOPSIS    [Toc]    [Back]

     #include <sys/types.h>
     #include <unistd.h>

     #int setash(ash_t ash);

DESCRIPTION    [Toc]    [Back]

     The setash	function changes the handle for	the array session containing
     the current process to the	value specified	by ash.	 The current process
     must have superuser privileges to invoke setash.

     Ordinarily, a handle that is unique within	the current system is assigned
     to	an array session when the array	session	is created using the
     newarraysess(2) function.	The setash function can	be used	to override
     this default handle, perhaps for assigning	a handle that is unique	across
     an	entire array or	for synchronizing handles with an array	session	on
     another system.

     The handle	specified by ash must be a positive value, must	not be in use
     on	the current system, and	must not be in the range of values that	IRIX
     uses for default array session handles.  This range of default handles is
     defined by	the system variables min_local_paggid and max_local_paggid and
     can be examined and/or modified using systune(1).

ERRORS    [Toc]    [Back]

     setash may	fail if	one or more of these conditions	are true:

     EINVAL    ash is negative,	in use by another array	session	on this
	       system, or in the range of values reserved by the system	for
	       default array session handles.

     EPERM     The current process does	not have superuser privileges.

SEE ALSO    [Toc]    [Back]

      
      
     systune(1), getash(2), newarraysess(2), array_sessions(5).

DIAGNOSTICS    [Toc]    [Back]

     Upon successful completion, setash	returns	a value	of 0.  Otherwise, a
     value of -1 is returned and errno is set to indicate the error.


									PPPPaaaaggggeeee 1111
[ Back ]
 Similar pages
Name OS Title
getash IRIX get array session handle
sid IRIX print the current array session handle and/or project ID
newsess IRIX start a new array session
newarraysess IRIX start a new array session
akill IRIX terminate a process or array session
arsop IRIX perform an operation on an array session
st_addr_to_proc Tru64 convert an address in an object to a file handle, procedure handle, line number, or symbol handle an...
st_text_addr_to_sym Tru64 convert an address in an object to a file handle, procedure handle, line number, or symbol handle an...
st_data_addr_to_sym Tru64 convert an address in an object to a file handle, procedure handle, line number, or symbol handle an...
st_addr_to_sym Tru64 convert an address in an object to a file handle, procedure handle, line number, or symbol handle an...
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service