nsg_set man page on DigitalUNIX

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

nsg_set(3)							    nsg_set(3)

NAME
       nsg_set	-  Set	NUMA  Scheduling  Group owner and permissions (libnuma
       library)

SYNOPSIS
       #include <numa.h>

       int nsg_set(
	       nsgid_t nsg,
	       nsgid_ds_t *attrib );

PARAMETERS
       Specifies the NUMA Scheduling Group (NSG).  Points to a structure  con‐
       taining owner and permission attributes.

DESCRIPTION
       The  nsg_set()  function	 sets the NSG owner IDs (user ID and group ID)
       and permissions (mode) by using the nsgid_ds structure  pointed	to  by
       attrib.

RESTRICTIONS
       The effective user ID of the calling process must be equal to the value
       of nsg_perm.cuid or nsg_perm.uid in the associated nsgid_ds  structure,
       or the calling process must have write permissions to the NSG.

RETURN VALUES
       Success.	 In this case, nsg_set() set the NSG owner IDs and permissions
       as specified.  Failure. In this case, errno  is	set  to	 indicate  the
       error.

ERRORS
       If  the nsg_set() function fails, it sets errno to one of the following
       values for the specified condition: The calling process does  not  have
       write  permission.   The	 attrib argument specifies an invalid address.
       The nsg argument does not specify a valid NSG ID.

SEE ALSO
       Functions: nsg_attach_pid(3), nsg_init(3), numa_intro(3)

       Files: numa_types(4)

								    nsg_set(3)
[top]

List of man pages available for DigitalUNIX

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