Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 71872

Summary: gettid.2 man pages has wrong information
Product: Gentoo Linux Reporter: Bash <bash83>
Component: Current packagesAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED INVALID    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: fix

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 :)