Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 Oct 2001 18:29:57 -0700 (PDT)
From:      Mike Barcroft <mike@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/lib/libc/string strnstr.c Makefile.inc strstr.3 src/include string.h
Message-ID:  <200110090129.f991Tvs39485@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
mike        2001/10/08 18:29:56 PDT

  Modified files:
    lib/libc/string      Makefile.inc strstr.3 
    include              string.h 
  Added files:
    lib/libc/string      strnstr.c 
  Log:
  Add a new libc function, strnstr(3), which allows one to limit the
  number of characters that are searched.  This is especially useful
  with file operations and non-NUL terminated strings.
  
  Silence from:	-audit, -hackers
  MFC after:	5 days
  
  Revision  Changes    Path
  1.7       +3 -1      src/include/string.h
  1.24      +3 -1      src/lib/libc/string/Makefile.inc
  1.1       +70 -0     src/lib/libc/string/strnstr.c (new)
  1.8       +51 -12    src/lib/libc/string/strstr.3


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




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