1 .\" Copyright 2001 Walter Harms (walter.harms@informatik.uni-oldenburg.de)
3 .\" Permission is granted to make and distribute verbatim copies of this
4 .\" manual provided the copyright notice and this permission notice are
5 .\" preserved on all copies.
7 .\" Permission is granted to copy and distribute modified versions of this
8 .\" manual under the conditions for verbatim copying, provided that the
9 .\" entire resulting derived work is distributed under the terms of a
10 .\" permission notice identical to this one.
12 .\" Since the Linux kernel and libraries are constantly changing, this
13 .\" manual page may be incorrect or out-of-date. The author(s) assume no
14 .\" responsibility for errors or omissions, or for damages resulting from
15 .\" the use of the information contained herein. The author(s) may not
16 .\" have taken the same level of care in the production of this manual,
17 .\" which is licensed free of charge, as they might when working
20 .\" Formatted or processed versions of this manual, if unaccompanied by
21 .\" the source, must acknowledge the copyright and authors of this work.
23 .\" aeb: some corrections
25 .\" Japanese Version Copyright (c) 2002 NAKANO Takeo all rights reserved.
26 .\" Translated Sun 6 Jan 2002 by NAKANO Takeo <nakano@apm.seikei.ac.jp>
28 .TH DYSIZE 3 2007-07-26 "GNU" "Linux Programmer's Manual"
30 dysize \- Í¿¤¨¤¿Ç¯¤ÎÆü¿ô¤òÊÖ¤¹
32 .B "#include <time.h>"
34 .BI "int dysize(int " year );
37 glibc ¸þ¤±¤Îµ¡Ç½¸¡ºº¥Þ¥¯¥í¤ÎÍ×·ï
38 .RB ( feature_test_macros (7)
43 _BSD_SOURCE || _SVID_SOURCE
45 ¤³¤Î´Ø¿ô¤ÏÄ̾ï¤Îǯ¤Ë¤Ï 365 ¤òÊÖ¤·¡¢¤¦¤ë¤¦Ç¯¤Ë¤Ï 366 ¤òÊÖ¤¹¡£
46 ¤¦¤ë¤¦Ç¯¤Î·×»»¤Ï¼¡¤Î¼°¤Ë¤è¤ë:
48 (year) %4 == 0 && ((year) %100 != 0 || (year) %400 == 0)
52 ¥Þ¥¯¥í¤ÇÄêµÁ¤µ¤ì¤Æ¤ª¤ê¡¢
56 ¤³¤Î´Ø¿ô¤Ï SunOS 4.x ¤ÇÀ¸¤Þ¤ì¤¿¡£
58 ¤³¤ì¤Ï¸ß´¹ÍѤδؿô¤Ë²á¤®¤Ê¤¤¡£¿·¤·¤¤¥×¥í¥°¥é¥à¤Ç¤Ï»È¤ï¤Ê¤¤¤³¤È¡£
59 ¤³¤Î´Ø¿ô¤Î SCO ÈÇ¤Ë¤Ï 2000 ǯÌäÂ꤬´Þ¤Þ¤ì¤Æ¤¤¤¿¡£