From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7506 invoked by alias); 22 Aug 2017 00:33:44 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Received: (qmail 7492 invoked by uid 89); 22 Aug 2017 00:33:43 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.4 required=5.0 tests=BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,RCVD_IN_SORBS_SPAM,SPF_PASS autolearn=no version=3.3.2 spammy=H*r:sk:dynamic, H*RU:74.125.83.66, Hx-spam-relays-external:74.125.83.66, kerrisk X-HELO: mail-pg0-f66.google.com X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:cc:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=VyuGaDbLgMpEG9nu4YOXNjagZTHusWhkc5UNaganqoc=; b=E2rGF4jstw1UBZvTuW7Y+QDvP5Yg3UvI/DU2p0Qa7Vgoq8rXIJqpfT56PTYdPydjF4 0iJY5JHAM4TnnWjIAr/zAY346n9EoUEizWnw5E033ZrMO0DC2vbe1BV73bQobQLbXfY7 8Tq/1NZ0Dmw+7KRBIdSHhut2skUpCP0Ms0DmiouyNARNkbmhSALdgrDq3m/H6qzETyvZ I+n19p4Tdy7ZG4vkJDkuwLs9DZmmr+9S9t1jvkbB0Cw2QP/kquBbdawA3rp8a7MR6tKC 6pU+DnSATAW1dqt5Oc6rKph4NXu6IflCQPaT6fwqAGfMYljRFtLqvawcHnqjaMA7gVSR 6nvw== X-Gm-Message-State: AHYfb5jeX7M5ebRmT6OoIt4n94Rk9Xm6l/ZmxrMGpsAB2TzQGm6/0gnE Bgz2Z2+RV1WRB5q0UFs= X-Received: by 10.84.232.199 with SMTP id x7mr13421025plm.408.1503362019826; Mon, 21 Aug 2017 17:33:39 -0700 (PDT) Cc: mtk.manpages@gmail.com, linux-man@vger.kernel.org, libc-alpha@sourceware.org Subject: Re: [PATCTH 0/2] pthread_mutexattr_setrobust() and pthread_mutex_consistent() To: Yubin Ruan References: From: "Michael Kerrisk (man-pages)" Message-ID: <36ab9ec0-b496-c007-c12f-065fd618e7fd@gmail.com> Date: Tue, 22 Aug 2017 00:33:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-SW-Source: 2017-08/txt/msg01033.txt.bz2 Hello Yubin On 08/20/2017 11:42 AM, Yubin Ruan wrote: > Hi Michael, > This patch series introduce three pthread functions for linux-man: > * pthread_mutexattr_setrobust() > * pthread_mutexattr_getrobust() > * pthread_mutex_consistent() > > I put pthread_mutexattr_setrobust() and pthread_mutexattr_getrobust() > altogether since they are related. > > I obtain my information about these functions mainly from reading the > glibc source code and do some testing. There might be some mistake, > but they are mostly correct (95% or so). > > Following this email would be those man pages in plain text and nroff > format. I have tested those nroff file on my Linux box using man, and > it look pretty well. Please point out if there are any mistake in > formatting. Thanks for the drafts. Could I ask you to review the man-pages(7) page. There's a number of details described in that page which should be fixed in the drafts. Also, please try rendering your pages with "man -l ". This will show problems with the example code. See the chown(2) man page example for the required escape sequences for "\n" and the single quote. Thanks, Michael -- Michael Kerrisk Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/ Linux/UNIX System Programming Training: http://man7.org/training/