This is the mail archive of the libc-hacker@sourceware.cygnus.com mailing list for the glibc project.

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: syscalls.list changes: List arguments


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]