OSDN Git Service

3d41adb2095a49a532eaec33c41cf663e257b2eb
[linuxjm/LDP_man-pages.git] / draft / man2 / mq_getsetattr.2
1 '\" t
2 .\" Hey Emacs! This file is -*- nroff -*- source.
3 .\"
4 .\" Copyright (C) 2006 Michael Kerrisk <mtk.manpages@gmail.com>
5 .\"
6 .\" Permission is granted to make and distribute verbatim copies of this
7 .\" manual provided the copyright notice and this permission notice are
8 .\" preserved on all copies.
9 .\"
10 .\" Permission is granted to copy and distribute modified versions of this
11 .\" manual under the conditions for verbatim copying, provided that the
12 .\" entire resulting derived work is distributed under the terms of a
13 .\" permission notice identical to this one.
14 .\"
15 .\" Since the Linux kernel and libraries are constantly changing, this
16 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
17 .\" responsibility for errors or omissions, or for damages resulting from
18 .\" the use of the information contained herein.  The author(s) may not
19 .\" have taken the same level of care in the production of this manual,
20 .\" which is licensed free of charge, as they might when working
21 .\" professionally.
22 .\"
23 .\" Formatted or processed versions of this manual, if unaccompanied by
24 .\" the source, must acknowledge the copyright and authors of this work.
25 .\"
26 .\" Japanese Version Copyright (c) 2006 Akihiro MOTOKI all rights reserved.
27 .\" Translated 2006-07-16, Akihiro MOTOKI <amotoki@dd.iij4u.or.jp>
28 .\"
29 .TH MQ_GETSETATTR 2 2010-08-29 "Linux" "Linux Programmer's Manual"
30 .\"O .SH NAME
31 .SH 名前
32 .\"O mq_getsetattr \- get/set message queue attributes
33 mq_getsetattr \- メッセージキューの属性を設定/取得する
34 .\"O .SH SYNOPSIS
35 .SH 書式
36 .nf
37 .B #include <sys/types.h>
38 .B #include <mqueue.h>
39 .sp
40 .BI "int mq_getsetattr(mqd_t " mqdes ", struct mq_attr *" newattr ","
41 .BI "                 struct mq_attr *" oldattr );
42 .fi
43 .\"O .SH DESCRIPTION
44 .SH 説明
45 .\"O Do not use this system call.
46 このシステムコールを使用しないこと。
47
48 .\"O This is the low-level system call used to implement
49 .\"O .BR mq_getattr (3)
50 .\"O and
51 .\"O .BR mq_setattr (3).
52 .\"O For an explanation of how this system call operates,
53 .\"O see the description of
54 .\"O .BR mq_setattr (3).
55 .BR mq_getattr (3)
56
57 .BR mq_setattr (3)
58 の実装に使用される低レベルのシステムコールである。
59 このシステムコールがどのように動作するかは
60 .BR mq_setattr (3)
61 の説明を参照のこと。
62 .\"O .SH CONFORMING TO
63 .SH 準拠
64 .\"O This interface is nonstandard; avoid its use.
65 このインタフェースは非標準である。使用を避けること。
66 .\"O .SH NOTES
67 .SH 注意
68 .\"O Glibc does not provide a wrapper for this system call; call it using
69 .\"O .BR syscall (2).
70 .\"O (Actually, never call it unless you are writing a C library!)
71 glibc はこのシステムコールに対するラッパー関数を提供していない。
72 .BR syscall (2)
73 を使って呼び出すこと。
74 (実のところ、C ライブラリを書いているのでない限り、
75 決してこのシステムコールを呼び出さないこと!)
76 .\"O .SH "SEE ALSO"
77 .SH 関連項目
78 .BR mq_getattr (3),
79 .BR mq_overview (7)