www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/07/04/23:52:20

From: j DOT aldrich6 AT genie DOT com
Message-Id: <199607050346.AA039428383@relay1.geis.com>
Date: Fri, 5 Jul 96 03:28:00 UTC 0000
To: djgpp AT delorie DOT com
Mime-Version: 1.0
Subject: Re: strupr() function?

Reply to message 7630647    from ORLY AT GIBSON DOT E on 07/04/96  8:41PM


>I've noticed that the strupr() function is included in the libc reference
>of DJGPP, but is nonexistent in the libc.a of either Linux, Solaris, or
>IRIX. Is this a BSD-ism that I haven't heard of? My IRIX implementation
>has the BSD ABI, and so does the Solaris. How come I don't have strupr() ?

DJGPP tries to incorporate functions from as many different compilers
as possible to ensure maximum portability.  For example, it has at
least three functions to do case-insensitive string compares, all of which
are identical except for the name (strcase, strcasecmp, and stricmp).
I don't know why your Unix compilers don't have strupr(), but I do know
that it is not an ANSI function.

John

- Raw text -


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