75 |
(inout len RTMK_MSG_TYPE_INTEGER32)) |
(inout len RTMK_MSG_TYPE_INTEGER32)) |
76 |
) |
) |
77 |
|
|
78 |
|
; Get user ids for process PROC. |
79 |
|
(define-method proc_getids (returns RTMK_MSG_TYPE_INTEGER32) |
80 |
|
(arguments (out proc RTMK_MSG_TYPE_COPY_SEND) |
81 |
|
(in uids RTMK_MSG_TYPE_INTEGER32[]) |
82 |
|
(inout nuids RTMK_MSG_TYPE_INTEGER32) |
83 |
|
(in gids RTMK_MSG_TYPE_INTEGER32[]) |
84 |
|
(inout ngids RTMK_MSG_TYPE_INTEGER32)) |
85 |
|
) |
86 |
|
|
87 |
|
; Set session id of process. |
88 |
|
(define-method proc_setsid (returns RTMK_MSG_TYPE_INTEGER32) |
89 |
|
(arguments (out proc RTMK_MSG_TYPE_COPY_SEND)) |
90 |
|
) |
91 |
|
|
92 |
|
; Get session id of process PID. SID is returned in *SIDP. |
93 |
|
(define-method proc_getsid (returns RTMK_MSG_TYPE_INTEGER32) |
94 |
|
(arguments (out proc RTMK_MSG_TYPE_COPY_SEND) |
95 |
|
(out pid RTMK_MSG_TYPE_INTEGER32) |
96 |
|
(in sid RTMK_MSG_TYPE_INTEGER32)) |
97 |
|
) |
98 |
|
|
99 |
|
; Set process group ID for process PID to PDID. |
100 |
|
(define-method proc_setpgrp (returns RTMK_MSG_TYPE_INTEGER32) |
101 |
|
(arguments (out proc RTMK_MSG_TYPE_COPY_SEND) |
102 |
|
(out pid RTMK_MSG_TYPE_INTEGER32) |
103 |
|
(out pgid RTMK_MSG_TYPE_INTEGER32)) |
104 |
|
) |
105 |
|
|
106 |
|
; Get process group ID of process PID. Returned in PGID. |
107 |
|
(define-method proc_getpgrp (returns RTMK_MSG_TYPE_INTEGER32) |
108 |
|
(arguments (out proc RTMK_MSG_TYPE_COPY_SEND) |
109 |
|
(out pid RTMK_MSG_TYPE_INTEGER32) |
110 |
|
(in pgid RTMK_MSG_TYPE_INTEGER32)) |
111 |
|
) |
112 |
|
|
113 |
|
; Set login name for process PROC. |
114 |
|
(define-method proc_setlogin (returns RTMK_MSG_TYPE_INTEGER32) |
115 |
|
(arguments (out proc RTMK_MSG_TYPE_COPY_SEND) |
116 |
|
(out name RTMK_MSG_TYPE_CHARACTER[])) |
117 |
|
) |
118 |
|
|
119 |
|
; Get login name for process PROC. |
120 |
|
(define-method proc_getlogin (returns RTMK_MSG_TYPE_INTEGER32) |
121 |
|
(arguments (out proc RTMK_MSG_TYPE_COPY_SEND) |
122 |
|
(in name RTMK_MSG_TYPE_INTEGER8[]) |
123 |
|
(inout name_len RTMK_MSG_TYPE_INTEGER32)) |
124 |
|
) |
125 |
|
|
126 |
|
|
127 |
; Open file FILENAME. MODE is used for creating file. |
; Open file FILENAME. MODE is used for creating file. |
128 |
; File descriptor number is returned in *FDP. |
; File descriptor number is returned in *FDP. |