Content-type: text/html Man page of sia_make_entity_pwd

sia_make_entity_pwd

Section: C Library Functions (3)
Index Return to Main Contents
 

NAME

sia_make_entity_pwd - Make entity password - SIA (Security Integration Architecture)  

LIBRARY

Standard C library (libc.so and libc.a)  

SYNOPSIS

#include <siad.h>
#include <signal.h>
#include <setjmp.h>

int sia_make_entity_pwd(
       struct passwd *pwd,

       SIAENTITY *entity);
 

PARAMETERS

entity
The entity parameter points to the SIAENTITY structure that will have its pwd data updated. The values in the SIAENTITY structure are changed by this routine.
pwd
The pwd parameter points to the passwd structure that will have its data duplicated by the pwd field of the entity structure.
 

DESCRIPTION

The sia_make_entity_pwd() routine fills in the pwd field of the entity structure, using malloc() to ensure that the copied data is not overwritten by subsequent calls to getpwent().  

RETURN VALUES

The sia_make_entity_pwd() routine returns SIASUCCESS or SIAFAIL.  

ERRORS

The errno value is not (normally) set explicitly by sia_* routines. The errno values are those returned from the dynamic loader interface, from dependent (siad_*) routines, or from malloc. Possible errors include resource constraints (no memory) and various authentication failures.  

FILES

/etc/passwd  

RELATED INFORMATION

sia_ses_init(3)

Security delim off


 

Index

NAME
LIBRARY
SYNOPSIS
PARAMETERS
DESCRIPTION
RETURN VALUES
ERRORS
FILES
RELATED INFORMATION

This document was created by man2html, using the manual pages.
Time: 02:41:31 GMT, October 02, 2010