syscalls.list changes: List arguments
Greg McGary
greg@kayak.mcgary.org
Tue Jun 27 12:19:00 GMT 2000
Jes Sorensen <jes@linuxcare.com> writes:
> ... Whats the idea
> for syscalls without any arguments then like getpagesize()?
The signature for a function that returns int and has no args is "i:".
It's academic though. Functions without pointers in their signature
need no BP thunks, so their signatures are unnecessary. Even so, I
write signatures for them anyway for sake of completeness.
> I made the changes for most of the ia64 syscalls, could one of you
> look it over and see if it looks right.
I verified that no arg counts changed, and that none of your
signatures is inconsistent with those for other architectures.
The user-level API for mmap has a pointer as the first argument,
so you should have a signature for mmap.
Greg
More information about the Libc-hacker
mailing list