[uClibc]bits/syscall[s].h

Miles Bader miles at lsi.nec.co.jp
Wed Aug 28 01:39:19 UTC 2002


I noticed that <bits/syscalls.h> (note the `s') now includes
<bits/syscall.h> (no s).

Is there a reason to have two header files that differ only in one
being plural and the other not?  It's likely to lead to confusion.

The comment in the code says that <bits/syscall.h> is to contain a list
of syscall numbers, whereas <bits/syscalls.h> is the `general interface
to syscalls' include file -- which seems completely backwards.

A more clear name for the list-of-syscal-numbers header file might be
something like <bits/sysnum.h> [by analogy with <sys/errnum.h> in glibc].

-Miles
-- 
Come now, if we were really planning to harm you, would we be waiting here, 
 beside the path, in the very darkest part of the forest?



More information about the uClibc mailing list