return outstr;
}
-int
-sys_ioprio_get(struct tcb *tcp)
+SYS_FUNC(ioprio_get)
{
if (entering(tcp)) {
/* int which */
}
}
-int
-sys_ioprio_set(struct tcb *tcp)
+SYS_FUNC(ioprio_set)
{
- if (entering(tcp)) {
- /* int which */
- printxval(ioprio_who, tcp->u_arg[0], "IOPRIO_WHO_???");
- /* int who */
- tprintf(", %d, ", (int) tcp->u_arg[1]);
- /* int ioprio */
- tprints(sprint_ioprio(tcp->u_arg[2]));
- }
- return 0;
+ /* int which */
+ printxval(ioprio_who, tcp->u_arg[0], "IOPRIO_WHO_???");
+ /* int who */
+ tprintf(", %d, ", (int) tcp->u_arg[1]);
+ /* int ioprio */
+ tprints(sprint_ioprio(tcp->u_arg[2]));
+
+ return RVAL_DECODED;
}