~ubuntu-branches/ubuntu/trusty/manpages-ru/trusty

« back to all changes in this revision

Viewing changes to man2/gettid.2

  • Committer: Bazaar Package Importer
  • Author(s): Dmitri Alenitchev
  • Date: 2005-10-18 14:21:42 UTC
  • mfrom: (2.1.2 breezy)
  • Revision ID: james.westby@ubuntu.com-20051018142142-evhl915i1p0on2u6
Tags: 0.98-4
New maintainer. Closes: #298910.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
.\" Hey Emacs! This file is -*- nroff -*- source.
 
2
.\"
 
3
.\" Copyright 2003 Abhijit Menon-Sen <ams@wiw.org>
 
4
.\" Permission is granted to make and distribute verbatim copies of this
 
5
.\" manual provided the copyright notice and this permission notice are
 
6
.\" preserved on all copies.
 
7
.\"
 
8
.\" Permission is granted to copy and distribute modified versions of this
 
9
.\" manual under the conditions for verbatim copying, provided that the
 
10
.\" entire resulting derived work is distributed under the terms of a
 
11
.\" permission notice identical to this one
 
12
.\" 
 
13
.\" Since the Linux kernel and libraries are constantly changing, this
 
14
.\" manual page may be incorrect or out-of-date.  The author(s) assume no
 
15
.\" responsibility for errors or omissions, or for damages resulting from
 
16
.\" the use of the information contained herein.  The author(s) may not
 
17
.\" have taken the same level of care in the production of this manual,
 
18
.\" which is licensed free of charge, as they might when working
 
19
.\" professionally.
 
20
.\" 
 
21
.\" Formatted or processed versions of this manual, if unaccompanied by
 
22
.\" the source, must acknowledge the copyright and authors of this work.
 
23
.\"
 
24
.\" ���� ��������� ��������� �������� 01.01.2004
 
25
.\" ������� � ����������� ������ ������ ���������� <corochoone@perm.ru>
 
26
.\" http://www.linuxshare.ru/projects/trans/mans.html
 
27
.\"
 
28
.TH GETTID 2 "2003-02-01" "Linux 2.4.20" "����������� ������������ Linux"
 
29
.SH ���
 
30
gettid \- �������� ������������� �����
 
31
.SH �����
 
32
.B #include <sys/types.h>
 
33
.br
 
34
.B #include <linux/unistd.h>
 
35
.sp
 
36
.B _syscall0(pid_t,gettid)
 
37
.sp
 
38
.B pid_t gettid(void);
 
39
.SH ��������
 
40
\fBgettid\fP ���������� ������������ ����� �������� ��������. ��� ������������
 
41
������������� �������� (������� ����������
 
42
.BR getpid (2)),
 
43
�� ����������� ����, ��� ������ ������� �������� ������ ������ ������
 
44
(��������� ����� ���� CLONE_THREAD � ��������� ������
 
45
.BR clone (2)).
 
46
��� �������� � ��� �� ������ ������ ����� ���������� ������������ ��������
 
47
PID, �� ������ �� ��� ����� ���������� ������������� ����� �������� TID.
 
48
.SH "������������ ��������"
 
49
� ������ ������ ���������� ������������� ����� TID �������� ��������.
 
50
.SH ������
 
51
���� ��������� ����� ������ ����������� �������.
 
52
.SH "������������ ����������"
 
53
����� \fBgettid\fP �������� ����������� ��� Linux � �� ������ ��������������
 
54
� ����������, ������� ������������ ��� �����������������.
 
55
.SH "�������� �����"
 
56
.BR getpid (2),
 
57
.BR clone (2),
 
58
.BR fork (2)
 
59
.SH �������
 
60
����ף� � ����������� ������ ���������� <corochoone@perm.ru> 2003