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]

syscalls.list changes: List arguments



Hi Greg,

you've changed syscalls.list to mention explictly the type of
arguments instead the number arguments.  I've got some question but
first like to summarize the situation to clarify it.

Your notation is something like "i:spi" where the argument before the
colon is the return type (seems to be required) and the rest are the
arguments.  The notation is "i" for an integer argument, "s" for a
string argument (pointer to char), "p" for a general pointer (void
pointer).

My questions now are:
- "i" can be an integer of any size - the important information is
  here that it is *not* a pointer.  Is this right?
- Why are you differentiating between "s" and "p"?  Where are you
  treating strings different than other pointers?
- Does it make sense to convert the remaining syscalls.list files?
  Not everything is changed so far.  Is it a problem if something
  hasn't been converted for the bounded pointer case?

Could you please also document the notation for the arguments
somewhere?

Thanks,
Andreas
-- 
 Andreas Jaeger
  SuSE Labs aj@suse.de
   private aj@arthur.inka.de

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