[ Next Article | Previous Article | Book Contents | Library Home | Legal | Search ]
Base Operating System and Extensions Technical Reference, Volume 1

odm_set_perms Subroutine

Purpose

Sets the default permissions for an ODM object class at creation time.

Library

Object Data Manager Library (libodm.a)

Syntax

#include <odmi.h>
int odm_set_perms (NewPermissions)
int NewPermissions;

Description

The odm_set_perms subroutine defines the default permissions to assign to object classes at creation.

Parameters

NewPermissions Specifies the new default permissions parameter as an integer.

Return Values

Upon successful completion, the current default permissions are returned. If the odm_set_perms subroutine is unsuccessful, a value of -1 is returned.

Implementation Specifics

This subroutine is part of Base Operating System (BOS) Runtime.

Related Information

See Appendix B, "ODM Error Codes" for explanations of the ODM error codes.

List of ODM Commands and Subroutines.

Object Data Manager (ODM) Overview for Programmers in AIX Version 4.3 General Programming Concepts: Writing and Debugging Programs.


[ Next Article | Previous Article | Book Contents | Library Home | Legal | Search ]