Chatta subito con l'assistenza
Chat con il supporto

Privilege Manager for Unix 7.3 - Administration Guide

Introducing Privilege Manager for Unix Planning Deployment Installation and Configuration Upgrade Privilege Manager for Unix System Administration Managing Security Policy The Privilege Manager for Unix Security Policy Advanced Privilege Manager for Unix Configuration Administering Log and Keystroke Files InTrust Plug-in for Privilege Manager for Unix Troubleshooting Privilege Manager for Unix Policy File Components Privilege Manager for Unix Variables
Variable names Variable scope Global input variables Global output variables Global event log variables PM settings variables
Privilege Manager for Unix Flow Control Statements Privilege Manager for Unix Built-in Functions and Procedures
Environment functions Hash table functions Input and output functions LDAP functions LDAP API example List functions Miscellaneous functions Password functions Remote access functions String functions User information functions Authentication Services functions
Privilege Manager for Unix programs Installation Packages

input

Syntax
string input( string prompt )
Description

input prompts the user to enter a single line of input and returns the entered string.

If the user enters a string, use the atoi function to convert the string to an integer.

Example
menu_selection = input("Enter your selection: "); 
switch(atoi(menu_selection)) {
 … 
} 
Related Topics

atoi

inputnoecho

inputnoecho

Syntax
string inputnoecho( string prompt )
Description

inputnoecho prompts the user for a single line of input. The input is not displayed on the screen as it is typed.

Example
Instr = inputnoecho("Enter Selection: "); 
if (Instr in allowed_strs) {
 …. 
} 
Related Topics

input

print

Syntax
print ( expression exp1 [, expression exp2, ...] )
Description

The print procedure prints the expression to stdout as a single line terminated with a newline character. If there is more than one argument, they are printed with a space delimiter. If there are no arguments, such as print(), the print result is a newline only. You can use variables, numbers, strings, lists or expressions as arguments in this function.

Example
print("Hello world");
Related Topics

fprintf

printf

printnnl

printvars

printf

Syntax
printf ( string format [, expression exp1, ...] );
Description

The printf procedure prints a formatted string to stdout.

For more information about formatting parameters, see the printf(3) man page.

Example
#this prints " 10" with no newline. 
printf("%4d", 10); 

#this prints "cory" preceded by 16 blank spaces, terminated with a newline. 
user="cory"; 
printf("%-20.20s\n", user); 
Related Topics

fprintf

print

printnnl

printvars

Related Documents

The document was helpful.

Seleziona valutazione

I easily found the information I needed.

Seleziona valutazione