OSDN Git Service

(split) LDP: draft snapshot generated from latest ja.po files.
[linuxjm/LDP_man-pages.git] / draft / man3 / dysize.3
index bdd1fd5..6509f29 100644 (file)
 .\" the source, must acknowledge the copyright and authors of this work.
 .\"
 .\" aeb: some corrections
+.\"*******************************************************************
 .\"
-.\" Japanese Version Copyright (c) 2002 NAKANO Takeo all rights reserved.
-.\" Translated Sun 6 Jan 2002 by NAKANO Takeo <nakano@apm.seikei.ac.jp>
+.\" This file was generated with po4a. Translate the source file.
 .\"
-.TH DYSIZE 3 2007-07-26 "GNU" "Linux Programmer's Manual"
-.\"O .SH NAME
-.\"O dysize \- get number of days for a given year
-.SH Ì¾Á°
-dysize \- Í¿¤¨¤¿Ç¯¤ÎÆü¿ô¤òÊÖ¤¹
-.\"O .SH SYNOPSIS
-.SH ½ñ¼°
-.B "#include <time.h>"
+.\"*******************************************************************
+.TH DYSIZE 3 2010\-09\-22 GNU "Linux Programmer's Manual"
+.SH 名前
+dysize \- 与えた年の日数を返す
+.SH 書式
+\fB#include <time.h>\fP
 .sp
-.BI "int dysize(int " year );
+\fBint dysize(int \fP\fIyear\fP\fB);\fP
 .sp
 .in -4n
-.\"O Feature Test Macro Requirements for glibc (see
-.\"O .BR feature_test_macros (7)):
-glibc ¸þ¤±¤Îµ¡Ç½¸¡ºº¥Þ¥¯¥í¤ÎÍ×·ï
-.RB ( feature_test_macros (7)
-»²¾È):
+glibc 向けの機能検査マクロの要件 (\fBfeature_test_macros\fP(7)  参照):
 .in
 .sp
-.BR dysize ():
-_BSD_SOURCE || _SVID_SOURCE
-.\"O .SH DESCRIPTION
-.SH ÀâÌÀ
-.\"O The function returns 365 for a normal year and 366 for a leap year.
-.\"O The calculation for leap year is based on:
-¤³¤Î´Ø¿ô¤ÏÄ̾ï¤Îǯ¤Ë¤Ï 365 ¤òÊÖ¤·¡¢¤¦¤ë¤¦Ç¯¤Ë¤Ï 366 ¤òÊÖ¤¹¡£
-¤¦¤ë¤¦Ç¯¤Î·×»»¤Ï¼¡¤Î¼°¤Ë¤è¤ë:
+\fBdysize\fP(): _BSD_SOURCE || _SVID_SOURCE
+.SH 説明
+この関数は通常の年には 365 を返し、うるう年には 366 を返す。 うるう年の計算は次の式による:
 .sp
 (year) %4 == 0 && ((year) %100 != 0 || (year) %400 == 0)
 .sp
-.\"O The formula is defined in the macro
-.\"O .I __isleap(year)
-.\"O also found in
-.\"O .IR <time.h> .
-¤³¤Î¼°¤Ï
-.I __isleap(year)
-¥Þ¥¯¥í¤ÇÄêµÁ¤µ¤ì¤Æ¤ª¤ê¡¢
-.I <time.h>
-¤Ë¤â¤¢¤ë¡£
-.\"O .SH "CONFORMING TO"
-.SH ½àµò
-.\"O This function occurs in SunOS 4.x.
-¤³¤Î´Ø¿ô¤Ï SunOS 4.x ¤ÇÀ¸¤Þ¤ì¤¿¡£
-.\"O .SH NOTES
-.SH Ãí°Õ
-.\"O This is a compatibility function only.
-.\"O Don't use it in new programs.
-.\"O The SCO version of this function had a year-2000 problem.
-¤³¤ì¤Ï¸ß´¹ÍѤδؿô¤Ë²á¤®¤Ê¤¤¡£¿·¤·¤¤¥×¥í¥°¥é¥à¤Ç¤Ï»È¤ï¤Ê¤¤¤³¤È¡£
-¤³¤Î´Ø¿ô¤Î SCO ÈǤˤϠ2000 Ç¯ÌäÂ꤬´Þ¤Þ¤ì¤Æ¤¤¤¿¡£
-.\"O .SH "SEE ALSO"
-.SH ´ØÏ¢¹àÌÜ
-.BR strftime (3)
+この式は \fI__isleap(year)\fP マクロで定義されており、 \fI<time.h>\fP にもある。
+.SH 準拠
+この関数は SunOS 4.x で生まれた。
+.SH 注意
+.\" The SCO version of this function had a year-2000 problem.
+これは互換用の関数に過ぎない。新しいプログラムでは使わないこと。
+.SH 関連項目
+\fBstrftime\fP(3)