Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!hp-pcd!hpfcso!hpfcdc!rodean From: rodean@hpfcdc.HP.COM (Bruce Rodean) Newsgroups: comp.sys.hp Subject: Re: BSD rindex, etc. Message-ID: <5570491@hpfcdc.HP.COM> Date: 27 Sep 90 16:58:08 GMT References: <8155@milton.u.washington.edu> Organization: Hewlett-Packard Co., Ft. Collins, CO. Lines: 19 In article <8155@milton.u.washington.edu> jdunlap@milton.u.washington.edu (John Dunlap) writes: > Some time ago, I recall a discussion about the BSD string functions > being available in HP-UX. I am looking for rindex and strings.h > among other things. I would like to have easier porting of BSD > applications to HP-UX. Well there's good news and bad news. The good news is that [r]index, bcopy, bzero, bcmp,and str[n]casecmp, along with a , are all going to be in libc in the next major release of HP-UX. The bad news is that doesn't help you for now. I believe that most people use #define's to map [r]index into str[r]chr. See string(3c) for the complete list of string functions. Bruce Rodean rodean@hpfcla.HP.COM This posting does not reflect the official position of Hewlett-Packard Co. No guarantees of any kind are made or implied.