Input/Output Functions and Procedures
The following table summarizes Endpoint Privilege Management for Unix and Linux’s input/output functions and procedures.
Function/ Procedure | Description |
fprintf() | Formats and appends a character string to a file |
input() | Prompts the user for a single line of input |
inputnoecho() | Similar to the input() function, inputnoecho() prompts the user for a single line of input, but does not display the input on the screen as it is entered |
print() | Displays a single line of information on the user’s screen. The line terminates with the newline character. |
printf() | Displays a formatted character string on the user’s screen |
printnnl() | Similar to the print procedures, printnnl displays a single line of information on the user’s screen, but the line is not terminated with the newline character |
printvars() | Prints all Endpoint Privilege Management for Unix and Linux variables to the user’s terminal |
readfile() | Returns the entire contents of a file in a character string |
syslog() | Writes a formatted message to the syslog facility |