From owner-svn-src-all@FreeBSD.ORG Tue May 27 04:30:57 2014 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id F3742233; Tue, 27 May 2014 04:30:56 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id E08EE2B9A; Tue, 27 May 2014 04:30:56 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s4R4Uu4G067507; Tue, 27 May 2014 04:30:56 GMT (envelope-from allanjude@svn.freebsd.org) Received: (from allanjude@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s4R4UuLA067506; Tue, 27 May 2014 04:30:56 GMT (envelope-from allanjude@svn.freebsd.org) Message-Id: <201405270430.s4R4UuLA067506@svn.freebsd.org> From: Allan Jude Date: Tue, 27 May 2014 04:30:56 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r266725 - head/lib/libc/string X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 May 2014 04:30:57 -0000 Author: allanjude (doc committer) Date: Tue May 27 04:30:56 2014 New Revision: 266725 URL: http://svnweb.freebsd.org/changeset/base/266725 Log: Emphasis on 'do not' and 'complement' in the strcspn(3) Replace literal parentheses with .Po/.Pc Approved by: wblock (mentor) Modified: head/lib/libc/string/strspn.3 Modified: head/lib/libc/string/strspn.3 ============================================================================== --- head/lib/libc/string/strspn.3 Tue May 27 04:26:22 2014 (r266724) +++ head/lib/libc/string/strspn.3 Tue May 27 04:30:56 2014 (r266725) @@ -71,13 +71,14 @@ spans the initial part of the null-termi .Fa s as long as the characters from .Fa s -do not occur in the null-terminated string +.Sy do not +occur in the null-terminated string .Fa charset -(it -spans the -.Em complement +.Po it spans the +.Sy complement of -.Fa charset ) . +.Fa charset +.Pc . In other words, it computes the string array index of the first character of .Fa s