Changeset View
Changeset View
Standalone View
Standalone View
usr.bin/truss/syscalls.c
Show First 20 Lines • Show All 902 Lines • ▼ Show 20 Lines | else if (rem != 0) | ||||
fprintf(fp, "|0x%x", rem); | fprintf(fp, "|0x%x", rem); | ||||
} | } | ||||
#ifndef __LP64__ | #ifndef __LP64__ | ||||
/* | /* | ||||
* Add argument padding to subsequent system calls after Quad | * Add argument padding to subsequent system calls after Quad | ||||
* syscall arguments as needed. This used to be done by hand in the | * syscall arguments as needed. This used to be done by hand in the | ||||
* decoded_syscalls table which was ugly and error prone. It is | * decoded_syscalls table which was ugly and error prone. It is | ||||
* simpler to do the fixup of offsets at initalization time than when | * simpler to do the fixup of offsets at initialization time than when | ||||
* decoding arguments. | * decoding arguments. | ||||
*/ | */ | ||||
static void | static void | ||||
quad_fixup(struct syscall *sc) | quad_fixup(struct syscall *sc) | ||||
{ | { | ||||
int offset, prev; | int offset, prev; | ||||
u_int i; | u_int i; | ||||
▲ Show 20 Lines • Show All 1,882 Lines • Show Last 20 Lines |