#include "rxunixsys.h"Go to the source code of this file.
Functions | |
| RexxRoutine2 (int, SysSignal, int, signum, CSTRING, sigact) | |
| RexxRoutine1 (RexxObjectPtr, SysUname, OPTIONAL_CSTRING, ichar) | |
| RexxRoutine0 (RexxObjectPtr, SysSetsid) | |
| RexxRoutine1 (RexxObjectPtr, SysGetsid, int, pid) | |
| RexxRoutine1 (RexxObjectPtr, SysSetuid, int, uid) | |
| RexxRoutine0 (RexxObjectPtr, SysGetuid) | |
| RexxRoutine1 (RexxObjectPtr, SysSeteuid, int, uid) | |
| RexxRoutine0 (RexxObjectPtr, SysGeteuid) | |
| RexxRoutine1 (RexxObjectPtr, SysSetgid, int, gid) | |
| RexxRoutine0 (RexxObjectPtr, SysGetgid) | |
| RexxRoutine1 (RexxObjectPtr, SysSetegid, int, gid) | |
| RexxRoutine0 (RexxObjectPtr, SysGetegid) | |
| RexxRoutine0 (RexxObjectPtr, SysSetpgrp) | |
| RexxRoutine0 (RexxObjectPtr, SysGetpgrp) | |
| RexxRoutine2 (RexxObjectPtr, SysSetpgid, int, pid1, int, pid2) | |
| RexxRoutine1 (RexxObjectPtr, SysGetpgid, int, pid) | |
| RexxRoutine0 (RexxObjectPtr, SysGetpid) | |
| RexxRoutine0 (RexxObjectPtr, SysGetppid) | |
| RexxRoutine0 (RexxObjectPtr, SysGettid) | |
| RexxRoutine2 (int, SysKill, int, pid1, int, sig1) | |
| RexxRoutine2 (int, SysSymlink, CSTRING, path1, CSTRING, path2) | |
| RexxRoutine2 (int, SysLink, CSTRING, path1, CSTRING, path2) | |
| RexxRoutine1 (int, SysUnlink, CSTRING, path1) | |
| RexxRoutine3 (int, SysChown, CSTRING, path1, int, uid, int, gid) | |
| RexxRoutine3 (int, SysLchown, CSTRING, path1, int, uid, int, gid) | |
| RexxRoutine1 (int, SysChroot, CSTRING, path1) | |
| RexxRoutine1 (int, SysUmask, int, nmask) | |
| RexxRoutine1 (int, SysClose, int, fh) | |
| RexxRoutine2 (RexxObjectPtr, SysGetpwnam, CSTRING, user, CSTRING, ichar) | |
| RexxRoutine2 (RexxObjectPtr, SysGetpwuid, int, uid, CSTRING, ichar) | |
| RexxRoutine2 (RexxObjectPtr, SysGetgrnam, CSTRING, grpname, CSTRING, ichar) | |
| RexxRoutine2 (RexxObjectPtr, SysGetgrgid, int, gid, CSTRING, ichar) | |
| RexxRoutine2 (RexxObjectPtr, SysStat, CSTRING, fname, CSTRING, ichar) | |
| RexxRoutine2 (int, SysAccess, CSTRING, file, int, option) | |
| RexxRoutine3 (RexxObjectPtr, SysGetservbyname, CSTRING, name, CSTRING, proto, CSTRING, ichar) | |
| RexxRoutine3 (RexxObjectPtr, SysGetservbyport, int, port, CSTRING, proto, CSTRING, ichar) | |
| RexxRoutine1 (RexxObjectPtr, SysWordexp, CSTRING, inexp) | |
| RexxRoutine0 (int, SysGetsizeofptr) | |
| RexxRoutine0 (RexxObjectPtr, SysGethostname) | |
| RexxRoutine2 (int, SysChmod, CSTRING, file, CSTRING, mode) | |
| RexxRoutine0 (int, SysGeterrno) | |
| RexxRoutine1 (RexxObjectPtr, SysGeterrnomsg, int, en) | |
| RexxRoutine2 (RexxObjectPtr, SysCrypt, CSTRING, str, CSTRING, salt) | |
| RexxRoutine2 (int, SysMkdir, CSTRING, dir, int, mode) | |
| RexxRoutine1 (int, SysRmdir, CSTRING, dir) | |
| RexxRoutine1 (RexxObjectPtr, SysGetdirlist, CSTRING, dir) | |
| RexxRoutine0 (RexxObjectPtr, SysGettzname1) | |
| RexxRoutine0 (RexxObjectPtr, SysGettzname2) | |
| static void | orxnixclib_loader (RexxThreadContext *context) |
| OOREXX_GET_PACKAGE (orxnixclib) | |
Variables | |
| RexxRoutineEntry | orxnixclib_routines [] |
| RexxMethodEntry | orxnixclib_methods [] |
| RexxPackageEntry | orxnixclib_package_entry |
| OOREXX_GET_PACKAGE | ( | orxnixclib | ) |
|
static |
Definition at line 1645 of file rxunixsys.cpp.
| RexxRoutine0 | ( | int | , |
| SysGeterrno | |||
| ) |
Method: SysGeterrno
Get the errno value.
Definition at line 1342 of file rxunixsys.cpp.
| RexxRoutine0 | ( | int | , |
| SysGetsizeofptr | |||
| ) |
Method: SysGetsizeofptr
Get the size of the ooRexx application pointers (in bits).
Definition at line 1171 of file rxunixsys.cpp.
| RexxRoutine0 | ( | RexxObjectPtr | , |
| SysGetegid | |||
| ) |
Method: SysGetegid
Get the effective groupid.
Definition at line 271 of file rxunixsys.cpp.
| RexxRoutine0 | ( | RexxObjectPtr | , |
| SysGeteuid | |||
| ) |
Method: SysGeteuid
Get the effective userid.
Definition at line 206 of file rxunixsys.cpp.
| RexxRoutine0 | ( | RexxObjectPtr | , |
| SysGetgid | |||
| ) |
| RexxRoutine0 | ( | RexxObjectPtr | , |
| SysGethostname | |||
| ) |
Method: SysGethostname
Get the machine hostname.
Definition at line 1187 of file rxunixsys.cpp.
| RexxRoutine0 | ( | RexxObjectPtr | , |
| SysGetpgrp | |||
| ) |
| RexxRoutine0 | ( | RexxObjectPtr | , |
| SysGetpid | |||
| ) |
| RexxRoutine0 | ( | RexxObjectPtr | , |
| SysGetppid | |||
| ) |
| RexxRoutine0 | ( | RexxObjectPtr | , |
| SysGettid | |||
| ) |
| RexxRoutine0 | ( | RexxObjectPtr | , |
| SysGettzname1 | |||
| ) |
Method: SysGettzname1
Return the timezone name.
Definition at line 1619 of file rxunixsys.cpp.
| RexxRoutine0 | ( | RexxObjectPtr | , |
| SysGettzname2 | |||
| ) |
Method: SysGettzname2
Return the altername timezone name.
Definition at line 1635 of file rxunixsys.cpp.
| RexxRoutine0 | ( | RexxObjectPtr | , |
| SysGetuid | |||
| ) |
| RexxRoutine0 | ( | RexxObjectPtr | , |
| SysSetpgrp | |||
| ) |
| RexxRoutine0 | ( | RexxObjectPtr | , |
| SysSetsid | |||
| ) |
Method: SysSetsid
Set the Session id.
Definition at line 120 of file rxunixsys.cpp.
| RexxRoutine1 | ( | int | , |
| SysChroot | , | ||
| CSTRING | , | ||
| path1 | |||
| ) |
Method: SysChroot
Changes the root directory of the calling process.
| path1 | The new root path. |
Definition at line 528 of file rxunixsys.cpp.
| RexxRoutine1 | ( | int | , |
| SysClose | , | ||
| int | , | ||
| fh | |||
| ) |
Method: SysClose
Close a file handle.
| nmask | The file handle to close. |
Definition at line 565 of file rxunixsys.cpp.
| RexxRoutine1 | ( | int | , |
| SysRmdir | , | ||
| CSTRING | , | ||
| dir | |||
| ) |
Method: SysRmdir
Remove a subdirectory.
| dir | The subdirectory to remove. |
Definition at line 1574 of file rxunixsys.cpp.
| RexxRoutine1 | ( | int | , |
| SysUmask | , | ||
| int | , | ||
| nmask | |||
| ) |
Method: SysUmask
Sets the calling process umask.
| nmask | The new umask. |
Definition at line 548 of file rxunixsys.cpp.
| RexxRoutine1 | ( | int | , |
| SysUnlink | , | ||
| CSTRING | , | ||
| path1 | |||
| ) |
Method: SysUnlink
Remove a hard or soft link.
| path1 | The source path. |
Definition at line 465 of file rxunixsys.cpp.
| RexxRoutine1 | ( | RexxObjectPtr | , |
| SysGetdirlist | , | ||
| CSTRING | , | ||
| dir | |||
| ) |
Method: SysGetdirlist
Return the list of files in a subdirectory.
| dir | The subdirectory to use. |
Definition at line 1591 of file rxunixsys.cpp.
| RexxRoutine1 | ( | RexxObjectPtr | , |
| SysGeterrnomsg | , | ||
| int | , | ||
| en | |||
| ) |
Method: SysGeterrnomsg
Get the string definition of an error number.
Definition at line 1357 of file rxunixsys.cpp.
| RexxRoutine1 | ( | RexxObjectPtr | , |
| SysGetpgid | , | ||
| int | , | ||
| pid | |||
| ) |
Method: SysGetpgid
Get the pgid.
| pid1 | The pid to query. |
Definition at line 342 of file rxunixsys.cpp.
| RexxRoutine1 | ( | RexxObjectPtr | , |
| SysGetsid | , | ||
| int | , | ||
| pid | |||
| ) |
Method: SysGetsid
Get the Session id.
| pid | The pid. |
Definition at line 139 of file rxunixsys.cpp.
| RexxRoutine1 | ( | RexxObjectPtr | , |
| SysSetegid | , | ||
| int | , | ||
| gid | |||
| ) |
Method: SysSetegid
Set the effective groupid.
| gid | The groupid. |
Definition at line 256 of file rxunixsys.cpp.
| RexxRoutine1 | ( | RexxObjectPtr | , |
| SysSeteuid | , | ||
| int | , | ||
| uid | |||
| ) |
Method: SysSeteuid
Set the effective userid.
| uid | The userid. |
Definition at line 190 of file rxunixsys.cpp.
| RexxRoutine1 | ( | RexxObjectPtr | , |
| SysSetgid | , | ||
| int | , | ||
| gid | |||
| ) |
Method: SysSetgid
Set the groupid.
| gid | The groupid. |
Definition at line 223 of file rxunixsys.cpp.
| RexxRoutine1 | ( | RexxObjectPtr | , |
| SysSetuid | , | ||
| int | , | ||
| uid | |||
| ) |
Method: SysSetuid
Set the userid.
| uid | The userid. |
Definition at line 157 of file rxunixsys.cpp.
| RexxRoutine1 | ( | RexxObjectPtr | , |
| SysUname | , | ||
| OPTIONAL_CSTRING | , | ||
| ichar | |||
| ) |
Method: SysUname
Return the uname information.
| ichar | The option string. |
Definition at line 86 of file rxunixsys.cpp.
| RexxRoutine1 | ( | RexxObjectPtr | , |
| SysWordexp | , | ||
| CSTRING | , | ||
| inexp | |||
| ) |
Method: SysWordexp
Return an array of files matching the input expression.
| inexp | The input expression. |
Definition at line 1028 of file rxunixsys.cpp.
| RexxRoutine2 | ( | int | , |
| SysAccess | , | ||
| CSTRING | , | ||
| file | , | ||
| int | , | ||
| option | |||
| ) |
Method: SysAccess
Return access information.
| file | The file specification. |
| ichar | The integer option. |
Definition at line 892 of file rxunixsys.cpp.
Method: SysChmod
Change the file permissions.
| usr | The user permissions. |
| grp | The group permissions. |
| oth | The other permissions. |
Definition at line 1210 of file rxunixsys.cpp.
| RexxRoutine2 | ( | int | , |
| SysKill | , | ||
| int | , | ||
| pid1 | , | ||
| int | , | ||
| sig1 | |||
| ) |
Method: SysKill
Kill a process.
| pid1 | The pid to kill. |
| sig1 | The signal to send. |
Definition at line 407 of file rxunixsys.cpp.
Method: SysLink
Create a hard link.
| path1 | The source path. |
| path2 | The target path. |
Definition at line 447 of file rxunixsys.cpp.
| RexxRoutine2 | ( | int | , |
| SysMkdir | , | ||
| CSTRING | , | ||
| dir | , | ||
| int | , | ||
| mode | |||
| ) |
Method: SysMkdir
Create a subdirectory.
| dir | The subdirectory to create. |
| mode | The mode for the new subdirectory. |
Definition at line 1556 of file rxunixsys.cpp.
| RexxRoutine2 | ( | int | , |
| SysSignal | , | ||
| int | , | ||
| signum | , | ||
| CSTRING | , | ||
| sigact | |||
| ) |
Function: SysSignal
Change a signal behavior.
| signum | The signal number. |
| sigact | The new signal action. |
Definition at line 53 of file rxunixsys.cpp.
Method: SysSymlink
Create a symbolic link.
| path1 | The source path. |
| path2 | The target path. |
Definition at line 427 of file rxunixsys.cpp.
| RexxRoutine2 | ( | RexxObjectPtr | , |
| SysCrypt | , | ||
| CSTRING | , | ||
| str | , | ||
| CSTRING | , | ||
| salt | |||
| ) |
Method: SysCrypt
Encrypt a string.
| str | The string to encrypt. |
| salt | The salt: two characters for the default DES encryption, other salt lengths may be available depending on the Unix platform for other encryption algorithms (MD5, Blowfish, SHA-256, SHA-512) |
Definition at line 1517 of file rxunixsys.cpp.
References Rexx_Error_Incorrect_call_null.
| RexxRoutine2 | ( | RexxObjectPtr | , |
| SysGetgrgid | , | ||
| int | , | ||
| gid | , | ||
| CSTRING | , | ||
| ichar | |||
| ) |
Method: SysGetgrgid
Return group name information from the group file.
| user | The gid. |
| ichar | The option string. |
Definition at line 728 of file rxunixsys.cpp.
| RexxRoutine2 | ( | RexxObjectPtr | , |
| SysGetgrnam | , | ||
| CSTRING | , | ||
| grpname | , | ||
| CSTRING | , | ||
| ichar | |||
| ) |
Method: SysGetgrnam
Return group name information from the group file.
| user | The group name. |
| ichar | The option string. |
Definition at line 684 of file rxunixsys.cpp.
| RexxRoutine2 | ( | RexxObjectPtr | , |
| SysGetpwnam | , | ||
| CSTRING | , | ||
| user | , | ||
| CSTRING | , | ||
| ichar | |||
| ) |
Method: SysGetpwnam
Return user name information from the passwd file.
| user | The user name. |
| ichar | The option string. |
Definition at line 584 of file rxunixsys.cpp.
| RexxRoutine2 | ( | RexxObjectPtr | , |
| SysGetpwuid | , | ||
| int | , | ||
| uid | , | ||
| CSTRING | , | ||
| ichar | |||
| ) |
Method: SysGetpwuid
Return user name information from the passwd file.
| user | The uid. |
| ichar | The option string. |
Definition at line 634 of file rxunixsys.cpp.
| RexxRoutine2 | ( | RexxObjectPtr | , |
| SysSetpgid | , | ||
| int | , | ||
| pid1 | , | ||
| int | , | ||
| pid2 | |||
| ) |
Method: SysSetpgid
Set the pgid.
| pid1 | The pid to set. |
| pid2 | The new pid. |
Definition at line 323 of file rxunixsys.cpp.
| RexxRoutine2 | ( | RexxObjectPtr | , |
| SysStat | , | ||
| CSTRING | , | ||
| fname | , | ||
| CSTRING | , | ||
| ichar | |||
| ) |
Method: SysStat
Return information from the stat API.
| user | The file name. |
| ichar | The option string. |
Definition at line 772 of file rxunixsys.cpp.
| RexxRoutine3 | ( | int | , |
| SysChown | , | ||
| CSTRING | , | ||
| path1 | , | ||
| int | , | ||
| uid | , | ||
| int | , | ||
| gid | |||
| ) |
Method: SysChown
Change the owner and group of a file.
| path1 | The file path. |
| uid | The new userid. |
| gid | The new groupid. |
Definition at line 486 of file rxunixsys.cpp.
| RexxRoutine3 | ( | int | , |
| SysLchown | , | ||
| CSTRING | , | ||
| path1 | , | ||
| int | , | ||
| uid | , | ||
| int | , | ||
| gid | |||
| ) |
Method: SysLchown
Change the owner and group of a file.
| path1 | The file path. |
| uid | The new userid. |
| gid | The new groupid. |
Definition at line 509 of file rxunixsys.cpp.
| RexxRoutine3 | ( | RexxObjectPtr | , |
| SysGetservbyname | , | ||
| CSTRING | , | ||
| name | , | ||
| CSTRING | , | ||
| proto | , | ||
| CSTRING | , | ||
| ichar | |||
| ) |
Method: SysGetservbyname
Return service information from the services file.
| name | The service name. |
| proto | The service protocol. |
| option | The option string. |
Definition at line 937 of file rxunixsys.cpp.
| RexxRoutine3 | ( | RexxObjectPtr | , |
| SysGetservbyport | , | ||
| int | , | ||
| port | , | ||
| CSTRING | , | ||
| proto | , | ||
| CSTRING | , | ||
| ichar | |||
| ) |
Method: SysGetservbyport
Return service information from the services file.
| port | The service port. |
| proto | The service protocol. |
| option | The option string. |
Definition at line 984 of file rxunixsys.cpp.
| RexxMethodEntry orxnixclib_methods[] |
Definition at line 1715 of file rxunixsys.cpp.
| RexxPackageEntry orxnixclib_package_entry |
Definition at line 1720 of file rxunixsys.cpp.
| RexxRoutineEntry orxnixclib_routines[] |
Definition at line 1650 of file rxunixsys.cpp.