public inbox for glibc-bugs@sourceware.org help / color / mirror / Atom feed
From: "aponomarenko at rosalab dot ru" <sourceware-bugzilla@sourceware.org> To: glibc-bugs@sourceware.org Subject: [Bug libc/15790] pthread_mutexattr_gettype doesn't store the value of the 'type' attribute into *type Date: Fri, 26 Jul 2013 11:13:00 -0000 [thread overview] Message-ID: <bug-15790-131-8RMArIrBcg@http.sourceware.org/bugzilla/> (raw) In-Reply-To: <bug-15790-131@http.sourceware.org/bugzilla/> http://sourceware.org/bugzilla/show_bug.cgi?id=15790 --- Comment #1 from Andrey Ponomarenko <aponomarenko at rosalab dot ru> --- Sorry, the correct example: #include <stdio.h> #include <pthread.h> int main() { pthread_mutexattr_t attr; pthread_mutexattr_init(&attr); int res1 = pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_NORMAL); int type = 0; int res2 = pthread_mutexattr_gettype(&attr, &type); printf("%d, %d, %d\n", res1, res2, type); return 0; } -- You are receiving this mail because: You are on the CC list for the bug.
next prev parent reply other threads:[~2013-07-26 11:13 UTC|newest] Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top 2013-07-26 11:06 [Bug libc/15790] New: " aponomarenko at rosalab dot ru 2013-07-26 11:13 ` aponomarenko at rosalab dot ru [this message] 2013-07-26 12:56 ` [Bug libc/15790] " tolga.dalman at googlemail dot com 2013-07-26 15:38 ` aj at suse dot de 2014-02-07 3:17 ` [Bug nptl/15790] " jsm28 at gcc dot gnu.org 2014-06-13 13:19 ` fweimer at redhat dot com 2014-08-11 9:11 ` schwab@linux-m68k.org 2015-02-12 8:49 ` cvs-commit at gcc dot gnu.org 2015-02-12 8:55 ` schwab@linux-m68k.org 2015-08-05 6:48 ` cvs-commit at gcc dot gnu.org
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=bug-15790-131-8RMArIrBcg@http.sourceware.org/bugzilla/ \ --to=sourceware-bugzilla@sourceware.org \ --cc=glibc-bugs@sourceware.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).