.\" Copyright (c) 2008 Linux Foundation, written by Michael Kerrisk
.\" <mtk.manpages@gmail.com>
.\"
+.\" %%%LICENSE_START(VERBATIM)
.\" Permission is granted to make and distribute verbatim copies of this
.\" manual provided the copyright notice and this permission notice are
.\" preserved on all copies.
.\"
.\" Formatted or processed versions of this manual, if unaccompanied by
.\" the source, must acknowledge the copyright and authors of this work.
+.\" %%%LICENSE_END
.\"
.\"*******************************************************************
.\"
.\" This file was generated with po4a. Translate the source file.
.\"
.\"*******************************************************************
-.TH MAKEDEV 3 2010\-09\-10 Linux "Linux Programmer's Manual"
+.\"
+.\" Japanese Version Copyright (c) 2012 Akihiro MOTOKI
+.\" all rights reserved.
+.\" Translated 2012-05-08, Akihiro MOTOKI <amotoki@gmail.com>
+.\"
+.TH MAKEDEV 3 2014\-05\-28 Linux "Linux Programmer's Manual"
.SH 名前
makedev, major, minor \- デバイス番号の操作
.SH 書式
\fB#define _BSD_SOURCE\fP /* feature_test_macros(7) 参照 */
\fB#include <sys/types.h>\fP
-\fBdev_t makedev(int \fP\fImaj\fP\fB, int \fP\fImin\fP\fB);\fP
-
-\fBint major(dev_t \fP\fIdev\fP\fB);\fP
-\fBint minor(dev_t \fP\fIdev\fP\fB);\fP
+\fBdev_t makedev(unsigned int \fP\fImaj\fP\fB, unsigned int \fP\fImin\fP\fB);\fP
+\fBunsigned int major(dev_t \fP\fIdev\fP\fB);\fP
+\fBunsigned int minor(dev_t \fP\fIdev\fP\fB);\fP
.fi
.SH 説明
デバイス ID は、メジャー ID とマイナー ID の二つの部分から構成される。
関数 \fBmakedev\fP(), \fBmajor\fP(), \fBminor\fP() は
POSIX.1 では規定されていないが、他の多くのシステムにも存在する。
.SH 注意
-これらのインタフェースはマクロとして定義されている。
+ã\81\93ã\82\8cã\82\89ã\81®ã\82¤ã\83³ã\82¿ã\83¼ã\83\95ã\82§ã\83¼ã\82¹ã\81¯ã\83\9eã\82¯ã\83ã\81¨ã\81\97ã\81¦å®\9a義ã\81\95ã\82\8cã\81¦ã\81\84ã\82\8bã\80\82
glibc 2.3.3 以降では、これらは GNU 固有の 3 つの関数
\fBgnu_dev_makedev\fP(), \fBgnu_dev_major\fP(), \fBgnu_dev_minor\fP() の
エイリアス (別名) となっている。後者の名前がエクスポートされるが、
.SH 関連項目
\fBmknod\fP(2), \fBstat\fP(2)
.SH この文書について
-この man ページは Linux \fIman\-pages\fP プロジェクトのリリース 3.40 の一部
+この man ページは Linux \fIman\-pages\fP プロジェクトのリリース 3.78 の一部
である。プロジェクトの説明とバグ報告に関する情報は
http://www.kernel.org/doc/man\-pages/ に書かれている。