|
JX Application Framework
|
Functions | |
| JString | JGetHostName () |
| JString | JGetUserName () |
| JString | JGetUserName (const uid_t uid) |
| JString | JGetUserRealWorldName () |
| JString | JGetUserRealWorldName (const uid_t uid) |
| JString | JGetUserHomeDirectory () |
| JString | JGetUserHomeDirectory (const uid_t uid) |
| JString | JGetUserShell () |
| JString | JGetUserShell (const uid_t uid) |
| JString | JGetGroupName () |
| JString | JGetGroupName (const gid_t gid) |
| bool | JUserIsAdmin () |
| bool | JUserIsAdmin (const uid_t uid) |
| bool | JUNIXSocketExists (const JString &pathName) |
| JError | JCreatePipe (int fd[2]) |
| JError JCreatePipe | ( | int | fd[2] | ) |
Opens a pair of file descriptors. fd[0] is for reading. fd[1] is for writing.
| JString JGetGroupName | ( | ) |
Returns the name of the specified user.
| JString JGetGroupName | ( | const gid_t | gid | ) |
| JString JGetHostName | ( | ) |
Returns the name of the machine.
| JString JGetUserHomeDirectory | ( | ) |
Returns the home directory of the specified user.
| JString JGetUserHomeDirectory | ( | const uid_t | uid | ) |
| JString JGetUserName | ( | ) |
Returns the name of the specified user.
| JString JGetUserName | ( | const uid_t | uid | ) |
| JString JGetUserRealWorldName | ( | ) |
Returns the "real world" name of the specified user.
| JString JGetUserRealWorldName | ( | const uid_t | uid | ) |
| JString JGetUserShell | ( | ) |
Returns the shell of the specified user.
| JString JGetUserShell | ( | const uid_t | uid | ) |
Returns true if pathName is the pathname of an existing unix socket, false otherwise.
| bool JUserIsAdmin | ( | ) |
| bool JUserIsAdmin | ( | const uid_t | uid | ) |