#, fuzzy msgid "" msgstr "" "Project-Id-Version: man-pages-l10n VERSION\n" "POT-Creation-Date: 2014-07-17 17:57+0900\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #. type: TH #: man-pages-posix/man0p/time.h.0p:2 #, no-wrap msgid "time.h" msgstr "" #. type: TH #: man-pages-posix/man0p/time.h.0p:2 #, no-wrap msgid "2013" msgstr "" #. type: TH #: man-pages-posix/man0p/time.h.0p:2 #, no-wrap msgid "IEEE/The Open Group" msgstr "" #. type: TH #: man-pages-posix/man0p/time.h.0p:2 #, no-wrap msgid "POSIX Programmer's Manual" msgstr "" #. type: SH #: man-pages-posix/man0p/time.h.0p:3 #, no-wrap msgid "PROLOG" msgstr "" #. type: Plain text #: man-pages-posix/man0p/time.h.0p:8 msgid "" "This manual page is part of the POSIX Programmer's Manual. The Linux " "implementation of this interface may differ (consult the corresponding Linux " "manual page for details of Linux behavior), or the interface may not be " "implemented on Linux." msgstr "" #. type: SH #: man-pages-posix/man0p/time.h.0p:9 #, no-wrap msgid "NAME" msgstr "" #. type: Plain text #: man-pages-posix/man0p/time.h.0p:12 msgid "time.h \\(em time types" msgstr "" #. type: SH #: man-pages-posix/man0p/time.h.0p:12 #, no-wrap msgid "SYNOPSIS" msgstr "" #. type: Plain text #: man-pages-posix/man0p/time.h.0p:16 #, no-wrap msgid "#include Etime.hE\n" msgstr "" #. type: SH #: man-pages-posix/man0p/time.h.0p:17 #, no-wrap msgid "DESCRIPTION" msgstr "" #. type: Plain text #: man-pages-posix/man0p/time.h.0p:23 msgid "" "Some of the functionality described on this reference page extends the ISO\\ " "C standard. Applications shall define the appropriate feature test macro " "(see the System Interfaces volume of POSIX.1\\(hy2008, I
, I) to enable the visibility of these symbols in this " "header." msgstr "" #. type: Plain text #: man-pages-posix/man0p/time.h.0p:32 msgid "" "The Itime.hE> header shall define the B, B, " "B, types as described in Isys/types.hE>." msgstr "" #. type: Plain text #: man-pages-posix/man0p/time.h.0p:41 msgid "" "The Itime.hE> header shall define the B and B " "types as described in Isys/types.hE>." msgstr "" #. type: Plain text #: man-pages-posix/man0p/time.h.0p:48 msgid "" "The Itime.hE> header shall define the B type as " "described in Ilocale.hE>." msgstr "" #. type: Plain text #: man-pages-posix/man0p/time.h.0p:55 msgid "" "The Itime.hE> header shall define the B type as described " "in Isys/types.hE>." msgstr "" #. type: Plain text #: man-pages-posix/man0p/time.h.0p:62 msgid "" "The tag B shall be declared as naming an incomplete structure " "type, the contents of which are described in the Isignal.hE> " "header." msgstr "" #. type: Plain text #: man-pages-posix/man0p/time.h.0p:68 msgid "" "The Itime.hE> header shall declare the B structure, which " "shall include at least the following members:" msgstr "" #. type: Plain text #: man-pages-posix/man0p/time.h.0p:81 #, no-wrap msgid "" "B<\n" "int tm_sec >Seconds [0,60].\n" "int tm_min Minutes [0,59].\n" "int tm_hour Hour [0,23].\n" "int tm_mday Day of month [1,31].\n" "int tm_mon Month of year [0,11].\n" "int tm_year Years since 1900.\n" "int tm_wday Day of week [0,6] (Sunday =0).\n" "int tm_yday Day of year [0,365].\n" "int tm_isdst Daylight Savings flag.\n" msgstr "" #. type: Plain text #: man-pages-posix/man0p/time.h.0p:90 msgid "" "The value of I shall be positive if Daylight Savings Time is in " "effect, 0 if Daylight Savings Time is not in effect, and negative if the " "information is not available." msgstr "" #. type: Plain text #: man-pages-posix/man0p/time.h.0p:96 msgid "" "The Itime.hE> header shall declare the B structure, " "which shall include at least the following members:" msgstr "" #. type: Plain text #: man-pages-posix/man0p/time.h.0p:102 #, no-wrap msgid "B<\n" "time_t tv_sec >Seconds.\n" "long tv_nsec Nanoseconds.\n" msgstr "" #. type: Plain text #: man-pages-posix/man0p/time.h.0p:111 msgid "" "The Itime.hE> header shall also declare the B " "structure, which shall include at least the following members:" msgstr "" #. type: Plain text #: man-pages-posix/man0p/time.h.0p:117 #, no-wrap msgid "" "B<\n" "struct timespec it_interval >Timer period.\n" "struct timespec it_value Timer expiration.\n" msgstr "" #. type: Plain text #: man-pages-posix/man0p/time.h.0p:124 msgid "The Itime.hE> header shall define the following macros:" msgstr "" #. type: IP #: man-pages-posix/man0p/time.h.0p:124 #, no-wrap msgid "NULL" msgstr "" #. type: Plain text #: man-pages-posix/man0p/time.h.0p:127 msgid "As described in Istddef.hE>." msgstr "" #. type: IP #: man-pages-posix/man0p/time.h.0p:127 #, no-wrap msgid "CLOCKS_PER_SEC" msgstr "" #. type: Plain text #: man-pages-posix/man0p/time.h.0p:136 msgid "" "A number used to convert the value returned by the I() function into " "seconds. The value shall be an expression with type B. The value " "of CLOCKS_PER_SEC shall be 1 million on XSI-conformant systems. However, it " "may be variable on other systems, and it should not be assumed that " "CLOCKS_PER_SEC is a compile-time constant." msgstr "" #. type: Plain text #: man-pages-posix/man0p/time.h.0p:142 msgid "" "The Itime.hE> header shall define the following symbolic constants." " The values shall have a type that is assignment-compatible with " "B." msgstr "" #. type: IP #: man-pages-posix/man0p/time.h.0p:142 #, no-wrap msgid "CLOCK_MONOTONIC" msgstr "" #. type: Plain text #: man-pages-posix/man0p/time.h.0p:149 msgid "" "The identifier for the system-wide monotonic clock, which is defined as a " "clock measuring real time, whose value cannot be set via I() " "and which cannot have negative clock jumps. The maximum possible clock jump " "shall be implementation-defined." msgstr "" #. type: IP #: man-pages-posix/man0p/time.h.0p:149 #, no-wrap msgid "CLOCK_PROCESS_CPUTIME_ID" msgstr "" #. type: Plain text #: man-pages-posix/man0p/time.h.0p:157 msgid "" "The identifier of the CPU-time clock associated with the process making a " "I() or I(\\|) function call." msgstr "" #. type: IP #: man-pages-posix/man0p/time.h.0p:157 #, no-wrap msgid "CLOCK_REALTIME" msgstr "" #. type: Plain text #: man-pages-posix/man0p/time.h.0p:159 msgid "The identifier of the system-wide clock measuring real time." msgstr "" #. type: IP #: man-pages-posix/man0p/time.h.0p:159 #, no-wrap msgid "CLOCK_THREAD_CPUTIME_ID" msgstr "" #. type: Plain text #: man-pages-posix/man0p/time.h.0p:166 msgid "" "The identifier of the CPU-time clock associated with the thread making a " "I() or I(\\|) function call." msgstr "" #. type: Plain text #: man-pages-posix/man0p/time.h.0p:170 msgid "" "The Itime.hE> header shall define the following symbolic constant:" msgstr "" #. type: IP #: man-pages-posix/man0p/time.h.0p:170 #, no-wrap msgid "TIMER_ABSTIME" msgstr "" #. type: Plain text #: man-pages-posix/man0p/time.h.0p:173 msgid "" "Flag indicating time is absolute. For functions taking timer objects, this " "refers to the clock associated with the timer." msgstr "" #. type: Plain text #: man-pages-posix/man0p/time.h.0p:190 msgid "" "The Itime.hE> header shall provide a declaration or definition for " "I. The I symbol shall expand to an expression of " "type B. It is unspecified whether I is a macro or an " "identifier declared with external linkage, and whether or not it is a " "modifiable lvalue. If a macro definition is suppressed in order to access an " "actual object, or a program defines an identifier with the name " "I, the behavior is undefined." msgstr "" #. type: Plain text #: man-pages-posix/man0p/time.h.0p:193 msgid "" "The following shall be declared as functions and may also be defined as " "macros. Function prototypes shall be provided." msgstr "" #. type: Plain text #: man-pages-posix/man0p/time.h.0p:231 #, no-wrap msgid "" "B<\n" "char *asctime(const struct tm *);\n" "char *asctime_r(const struct tm *restrict, char *restrict);\n" "clock_t clock(void);\n" "int clock_getcpuclockid(pid_t, clockid_t *);\n" "int clock_getres(clockid_t, struct timespec *);\n" "int clock_gettime(clockid_t, struct timespec *);\n" "int clock_nanosleep(clockid_t, int, const struct timespec *,\n" " struct timespec *);\n" "int clock_settime(clockid_t, const struct timespec *);\n" "char *ctime(const time_t *);\n" "char *ctime_r(const time_t *, char *);\n" "double difftime(time_t, time_t);\n" "struct tm *getdate(const char *);\n" "struct tm *gmtime(const time_t *);\n" "struct tm *gmtime_r(const time_t *restrict, struct tm *restrict);\n" "struct tm *localtime(const time_t *);\n" "struct tm *localtime_r(const time_t *restrict, struct tm *restrict);\n" "time_t mktime(struct tm *);\n" "int nanosleep(const struct timespec *, struct timespec *);\n" "size_t strftime(char *restrict, size_t, const char *restrict,\n" " const struct tm *restrict);\n" "size_t strftime_l(char *restrict, size_t, const char *restrict,\n" " const struct tm *restrict, locale_t);\n" "char *strptime(const char *restrict, const char *restrict,\n" " struct tm *restrict);\n" "time_t time(time_t *);\n" "int timer_create(clockid_t, struct sigevent *restrict,\n" " timer_t *restrict);\n" "int timer_delete(timer_t);\n" "int timer_getoverrun(timer_t);\n" "int timer_gettime(timer_t, struct itimerspec *);\n" "int timer_settime(timer_t, int, const struct itimerspec *restrict,\n" " struct itimerspec *restrict);\n" "void tzset(void);>\n" msgstr "" #. type: Plain text #: man-pages-posix/man0p/time.h.0p:239 msgid "" "The Itime.hE> header shall declare the following as variables:" msgstr "" #. type: Plain text #: man-pages-posix/man0p/time.h.0p:246 #, no-wrap msgid "" "B<\n" "extern int daylight;\n" "extern long timezone;\n" "extern char *tzname[];>\n" msgstr "" #. type: Plain text #: man-pages-posix/man0p/time.h.0p:255 msgid "" "Inclusion of the Itime.hE> header may make visible all symbols " "from the Isignal.hE> header." msgstr "" #. type: Plain text #: man-pages-posix/man0p/time.h.0p:257 msgid "I" msgstr "" #. type: SH #: man-pages-posix/man0p/time.h.0p:257 #, no-wrap msgid "APPLICATION USAGE" msgstr "" #. type: Plain text #: man-pages-posix/man0p/time.h.0p:261 msgid "The range [0,60] for I allows for the occasional leap second." msgstr "" #. type: Plain text #: man-pages-posix/man0p/time.h.0p:264 msgid "" "I is a signed value; therefore, years before 1900 may be " "represented." msgstr "" #. type: Plain text #: man-pages-posix/man0p/time.h.0p:269 msgid "" "To obtain the number of clock ticks per second returned by the I() " "function, applications should call I(_SC_CLK_TCK)." msgstr "" #. type: SH #: man-pages-posix/man0p/time.h.0p:269 #, no-wrap msgid "RATIONALE" msgstr "" #. type: Plain text #: man-pages-posix/man0p/time.h.0p:275 msgid "" "The range [0,60] seconds allows for positive or negative leap seconds. The " "formal definition of UTC does not permit double leap seconds, so all mention " "of double leap seconds has been removed, and the range shortened from the " "former [0,61] seconds seen in earlier versions of this standard." msgstr "" #. type: SH #: man-pages-posix/man0p/time.h.0p:275 #, no-wrap msgid "FUTURE DIRECTIONS" msgstr "" #. type: Plain text #: man-pages-posix/man0p/time.h.0p:277 msgid "None." msgstr "" #. type: SH #: man-pages-posix/man0p/time.h.0p:277 #, no-wrap msgid "SEE ALSO" msgstr "" #. type: Plain text #: man-pages-posix/man0p/time.h.0p:282 msgid "" "Blocale.hE>, Bsignal.hE>, Bstddef.hE>, " "Bsys_types.hE>" msgstr "" #. type: Plain text #: man-pages-posix/man0p/time.h.0p:314 msgid "" "The System Interfaces volume of POSIX.1\\(hy2008, I
, I, I\\^(\\|), I\\^(\\|), " "I\\^(\\|), I\\^(\\|), " "I\\^(\\|), I\\^(\\|), I\\^(\\|), " "I\\^(\\|), I\\^(\\|), I\\^(\\|), " "I\\^(\\|), I\\^(\\|), I\\^(\\|), " "I\\^(\\|), I\\^(\\|), " "I\\^(\\|), I\\^(\\|), " "I\\^(\\|), I\\^(\\|), " "I\\^(\\|), I\\^(\\|), I\\^(\\|), " "I