delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/07/28/23:51:48

From: mcr AT solidum DOT com (Michael Richardson)
Subject: why are bcopy/bcmp/bzero defined that way?
28 Jul 1998 23:51:48 -0700 :
Message-ID: <199807281849.OAA01932.cygnus.gnu-win32@venus.solidum.com>
To: gnu-win32 AT cygnus DOT com

  Why not do:

*** string.h~	Thu Feb 26 10:41:42 1998
--- string.h	Tue Jul 28 14:41:50 1998
***************
*** 50,58 ****
  #ifndef _STRICT_ANSI
  char 	*_EXFUN(strtok_r,(char *, const char *, char **));
  
! int	 _EXFUN(bcmp,(const char *, const char *, size_t));
! void	 _EXFUN(bcopy,(const char *, char *, size_t));
! void	 _EXFUN(bzero,(char *, size_t));
  int	 _EXFUN(ffs,(int));
  char 	*_EXFUN(index,(const char *, int));
  _PTR	 _EXFUN(memccpy,(_PTR, const _PTR, int, size_t));
--- 50,58 ----
  #ifndef _STRICT_ANSI
  char 	*_EXFUN(strtok_r,(char *, const char *, char **));
  
! int	 _EXFUN(bcmp,(const void *, const void *, size_t));
! void	 _EXFUN(bcopy,(const void *, void *, size_t));
! void	 _EXFUN(bzero,(void *, size_t));
  int	 _EXFUN(ffs,(int));
  char 	*_EXFUN(index,(const char *, int));
  _PTR	 _EXFUN(memccpy,(_PTR, const _PTR, int, size_t));
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019