Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 71872 - gettid.2 man pages has wrong information
Summary: gettid.2 man pages has wrong information
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-11-20 11:19 UTC by Bash
Modified: 2004-11-23 03:05 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
fix (z.patch,301 bytes, patch)
2004-11-20 11:20 UTC, Bash
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Bash 2004-11-20 11:19:05 UTC
NAME
       gettid - get thread identification

SYNOPSIS
       #include <sys/types.h>
       #include <linux/unistd.h>

       _syscall0(pid_t,gettid)

       pid_t gettid(void);

DESCRIPTION
[...]

But must be:
NAME
       gettid - get thread identification

SYNOPSIS
       #include <sys/types.h>
       #include <sys/syscall.h>
       #include <errno.h>

       _syscall0(pid_t,gettid)

       pid_t gettid(void);
[...]

Difference in headers files!


Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Bash 2004-11-20 11:20:02 UTC
Created attachment 44378 [details, diff]
fix
Comment 2 Bash 2004-11-23 03:05:36 UTC
I've contacted with author of man-pages and started discussion with him.
Sorry for mess :)