Go to main content

man pages section 3: Extended Library Functions, Volume 2

Exit Print View

Updated: Thursday, June 13, 2019
 
 

IMA_GenerateNodeName (3IMA)

Name

IMA_GenerateNodeName - Generates a unique node name for the currently running system

Synopsis

cc [ flag... ] file... -lima [ library... ]
#include <ima.h>

IMA_STATUS IMA_GenerateNodeName(
/* out */   IMA_NODE_NAME generatedName
);

Parameters

generatedName

If successfully returned, this argument contains the generated node name

Description

The IMA_GenerateNodeName() API generates a unique node name for the currently running system.

Return Values

IMA_ERROR_INVALID_PARAMETER

Returned if generatedName is NULL, or specifies a memory area to which data cannot be written.

Attributes

See attributes(7) for descriptions of the following attributes:

ATTRIBUTE TYPE
ATTRIBUTE VALUE
Availability
system/library/storage/snia-ima
Interface Stability
Volatile
MT-Level
Safe

See Also

libima(3LIB), attributes(7), IMA_GetNonSharedNodeOidList(3IMA), IMA_SetNodeName(3IMA)