public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Robert.Baron@IGW.TRUST.CS.CMU.EDU
To: gnu-win32@cygnus.com
Subject: bcmp, bcopy, bzero
Date: Mon, 20 Oct 1997 16:37:00 -0000	[thread overview]
Message-ID: <877390403/rvb@IGW.TRUST.CS.CMU.EDU> (raw)

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

                 reply	other threads:[~1997-10-20 16:37 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=877390403/rvb@IGW.TRUST.CS.CMU.EDU \
    --to=robert.baron@igw.trust.cs.cmu.edu \
    --cc=gnu-win32@cygnus.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).