Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Jun 1999 10:20:50 -0400 (EDT)
From:      Garrett Wollman <wollman@khavrinen.lcs.mit.edu>
To:        Tim Vanderhoek <vanderh@ecf.utoronto.ca>
Cc:        Mike Pritchard <mpp@mpp.pro-ns.net>, sheldonh@FreeBSD.ORG, mika@cs.caltech.edu, freebsd-bugs@FreeBSD.ORG, freebsd-gnats-submit@FreeBSD.ORG
Subject:   Re: docs/12372: man page HISTORY for strdup is wrong
Message-ID:  <199906251420.KAA28810@khavrinen.lcs.mit.edu>
In-Reply-To: <19990624180946.A5806@mad>
References:  <19990624115218.A3732@mad> <199906241728.MAA16796@mpp.pro-ns.net> <19990624180946.A5806@mad>

next in thread | previous in thread | raw e-mail | index | archive | help
<<On Thu, 24 Jun 1999 18:09:46 -0400, Tim Vanderhoek <vanderh@ecf.utoronto.ca> said:

> Hmm...  Here's another one...  This HPUX man seems to state that
> strdup appeared in SVr2...
> http://www.informatik.uni-frankfurt.de/doc/man/hpux/strxfrm.3c.html

> Anyways, I'm inclined to place it in SVr2.

It is definitely not in 4.3BSD (I checked our sources here).  All of
the str* functions, except for str(n)cat, str(n)cmp, str(n)cpy, and
strlen, have implementations in the lib/libc/compat-sys5 directory.
That directory also includes a family of str???n functions which
completely null-fill the remainder of their target buffers.

-GAWollman

--
Garrett A. Wollman   | O Siem / We are all family / O Siem / We're all the same
wollman@lcs.mit.edu  | O Siem / The fires of freedom 
Opinions not those of| Dance in the burning flame
MIT, LCS, CRS, or NSA|                     - Susan Aglukark and Chad Irschick


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199906251420.KAA28810>