public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* bcmp, bcopy, bzero
@ 1997-10-20 16:37 Robert.Baron
  0 siblings, 0 replies; only message in thread
From: Robert.Baron @ 1997-10-20 16:37 UTC (permalink / raw)
  To: gnu-win32

Speaking of ex FUN!  in string.h we define: 

int      _EXFUN(bcmp,(const char *, const char *, size_t));
void     _EXFUN(bcopy,(const char *, char *, size_t));
void     _EXFUN(bzero,(char *, size_t));

but both linux and netbsd use:
int      _EXFUN(bcmp,(const void *, const void *, size_t));
void     _EXFUN(bcopy,(const void *, void *, size_t));
void     _EXFUN(bzero,(void *, size_t));


which does seem more appropriate for the definitions.  The "cons char *,
causes the need for endless casts in some programs I'm porting.  Could
I propose that we pick up the definition that the other OS's use.  What
is thetechnical reason for our choices.
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".

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

only message in thread, other threads:[~1997-10-20 16:37 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1997-10-20 16:37 bcmp, bcopy, bzero Robert.Baron

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).