*BSD News Article 63277


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.mel.connect.com.au!munnari.OZ.AU!news.hawaii.edu!ames!usenet.kornet.nm.kr!news.kreonet.re.kr!news.dacom.co.kr!nntp.coast.net!chi-news.cic.net!news.cic.net!pauls
From: pauls@cic.net (Paul Southworth)
Newsgroups: comp.unix.bsd.freebsd.misc,comp.sys.sun.admin
Subject: stricmp/strnicmp portability question
Followup-To: poster
Date: 11 Mar 1996 04:31:55 GMT
Organization: CICNet, Inc.
Lines: 13
Message-ID: <4i0abr$9i0@news.cic.net>
NNTP-Posting-Host: locust.cic.net
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:15252 comp.sys.sun.admin:63482


I'm trying to port a package to FreeBSD that was developed on SunOS.
The developers made heavy use of the stricmp(3) and strnicmp(3)
functions.  As far as I can tell, they do not exist on FreeBSD.  Additionally,
although they're in the SunOS libc, they are not mentioned in the
SunOS "string functions" man page. :(

Can anyone point me to documentation of what these functions do, or
offer macros to work around them easily?

Am I correct in assuming they are deprecated?

--Paul