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

  man pages->IRIX man pages -> validateproj (3c)              


validateproj(3c)					      validateproj(3c)

NAME    [Toc]    [Back]

     validateproj, fvalidateproj - validate a project name for a user

SYNOPSIS    [Toc]    [Back]

     #include <proj.h>

     prid_t validateproj(const char *user, const char *proj);

     prid_t fvalidateproj(PROJ token, const char *user,	const char *proj);

DESCRIPTION    [Toc]    [Back]

     The validateproj function checks to see if	user user is authorized	for
     project proj.  If so, the project ID corresponding	to proj	is returned.

     The fvalidateproj function	is a variant of	validateproj that uses a PROJ
     token to make it more efficient for repeated use.	Otherwise its
     operation is identical.  For more details on creating a PROJ token, see

FILES    [Toc]    [Back]

     /etc/project   System project authorization file.

     /etc/projid    System project name	to project ID mappings.

SEE ALSO    [Toc]    [Back]

     closeproj(3C), getprojall(3C), getprojuser(3C), openproj(3C), projid(4),

DIAGNOSTICS    [Toc]    [Back]

     validateproj and fvalidateproj both return	the appropriate	project	ID if
     successful, or -1 if not.

BUGS    [Toc]    [Back]

     Both functions use	fopen(3S) and are thus subject to its limitations.

     Project information should	be (optionally)	obtained via NIS.

									PPPPaaaaggggeeee 1111
[ Back ]
 Similar pages
Name OS Title
DtSearchValidDateString HP-UX Validate and convert a user date string
edquota IRIX edit user or project quotas
projid IRIX project name to project ID mapping file
acl_valid_file_np FreeBSD validate an ACL
acl_valid FreeBSD validate an ACL
acl_valid_fd_np FreeBSD validate an ACL
acl_valid IRIX validate an ACL
RSA_check_key OpenBSD validate private RSA keys
val HP-UX validate SCCS file
val IRIX validate SCCS file
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service