public inbox for xconq7@sourceware.org
 help / color / mirror / Atom feed
* Missing Structs and Functions
@ 2003-10-10  7:59 Eric McDonald
  0 siblings, 0 replies; only message in thread
From: Eric McDonald @ 2003-10-10  7:59 UTC (permalink / raw)
  To: xconq7


Hello,

  I am starting to work toward allowing some parts of C99 to be 
used in Xconq (which still conforms to C89). The first two 
candidates are the snprintf(3) and vsnprintf(3) functions. I have 
already created config tests for them; now I am wondering where I 
should provide implementations for systems which are missing them.
  One idea would be to create a missing.h and missing.c, perhaps 
in the kernel dir. Then we would include missing.h into the most 
basic header files. missing.h would contain #ifdef'd definitions 
of missing structs and prototypes of missing functions. A major 
motivator for this is that some platforms are missing functions 
such as gettimeofday(), and we currently have #ifdef'd 
declarations and implementations scattered across several files in 
the kernel directory. A single, common header and implementation 
would address this.

  Regards,
    Eric

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-10-08 15:15 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-10-10  7:59 Missing Structs and Functions Eric McDonald

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).