| 1 |
# French translation of manpages |
| 2 |
# This file is distributed under the same license as the manpages-l10n package. |
| 3 |
# Copyright © of this file: |
| 4 |
# Christophe Blaess <https://www.blaess.fr/christophe/>, 1996-2003. |
| 5 |
# Stéphan Rafin <[email protected]>, 2002. |
| 6 |
# Thierry Vignaud <[email protected]>, 1999, 2002. |
| 7 |
# François Micaux, 2002. |
| 8 |
# Alain Portal <[email protected]>, 2003-2008. |
| 9 |
# Jean-Philippe Guérard <[email protected]>, 2005-2006. |
| 10 |
# Jean-Luc Coulon (f5ibh) <[email protected]>, 2006-2007. |
| 11 |
# Julien Cristau <[email protected]>, 2006-2007. |
| 12 |
# Thomas Huriaux <[email protected]>, 2006-2008. |
| 13 |
# Nicolas François <[email protected]>, 2006-2008. |
| 14 |
# Florentin Duneau <[email protected]>, 2006-2010. |
| 15 |
# Simon Paillard <[email protected]>, 2006, 2012-2014. |
| 16 |
# Denis Barbier <[email protected]>, 2006, 2010. |
| 17 |
# David Prévot <[email protected]>, 2010, 2012-2014. |
| 18 |
# Lucien Gentis <[email protected]>, 2022-2025. |
| 19 |
msgid "" |
| 20 |
msgstr "" |
| 21 |
"Project-Id-Version: manpages-l10n 4.28.0\n" |
| 22 |
"POT-Creation-Date: 2026-06-05 06:21+0200\n" |
| 23 |
"PO-Revision-Date: 2025-12-10 15:10+0100\n" |
| 24 |
"Last-Translator: Lucien Gentis <[email protected]>\n" |
| 25 |
"Language-Team: French <[email protected]>\n" |
| 26 |
"Language: fr\n" |
| 27 |
"MIME-Version: 1.0\n" |
| 28 |
"Content-Type: text/plain; charset=UTF-8\n" |
| 29 |
"Content-Transfer-Encoding: 8bit\n" |
| 30 |
"Plural-Forms: nplurals=2; plural=n > 1;\n" |
| 31 |
"X-Generator: gvim\n" |
| 32 |
|
| 33 |
#. type: TH |
| 34 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 35 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 36 |
#, no-wrap |
| 37 |
msgid "ctime" |
| 38 |
msgstr "ctime" |
| 39 |
|
| 40 |
#. type: TH |
| 41 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 42 |
#: opensuse-tumbleweed |
| 43 |
#, no-wrap |
| 44 |
msgid "2026-02-08" |
| 45 |
msgstr "8 février 2026" |
| 46 |
|
| 47 |
#. type: TH |
| 48 |
#: archlinux debian-unstable |
| 49 |
#, no-wrap |
| 50 |
msgid "Linux man-pages 6.18" |
| 51 |
msgstr "Pages du manuel de Linux 6.18" |
| 52 |
|
| 53 |
#. type: SH |
| 54 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 55 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 56 |
#, no-wrap |
| 57 |
msgid "NAME" |
| 58 |
msgstr "NOM" |
| 59 |
|
| 60 |
#. type: Plain text |
| 61 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 62 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 63 |
msgid "" |
| 64 |
"asctime, ctime, gmtime, localtime, mktime, asctime_r, ctime_r, gmtime_r, " |
| 65 |
"localtime_r - transform date and time to broken-down time or ASCII" |
| 66 |
msgstr "" |
| 67 |
"asctime, ctime, gmtime, localtime, mktime, asctime_r, ctime_r, gmtime_r, " |
| 68 |
"localtime_r — Convertir des dates et des temps au format année/mois/jour ou " |
| 69 |
"au format ASCII" |
| 70 |
|
| 71 |
#. type: SH |
| 72 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 73 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 74 |
#, no-wrap |
| 75 |
msgid "LIBRARY" |
| 76 |
msgstr "BIBLIOTHÈQUE" |
| 77 |
|
| 78 |
#. type: Plain text |
| 79 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 80 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 81 |
msgid "Standard C library (I<libc>,\\ I<-lc>)" |
| 82 |
msgstr "Bibliothèque C standard (I<libc>,\\ I<-lc>)" |
| 83 |
|
| 84 |
#. type: SH |
| 85 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 86 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 87 |
#, no-wrap |
| 88 |
msgid "SYNOPSIS" |
| 89 |
msgstr "SYNOPSIS" |
| 90 |
|
| 91 |
#. type: Plain text |
| 92 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 93 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 94 |
#, no-wrap |
| 95 |
msgid "B<#include E<lt>time.hE<gt>>\n" |
| 96 |
msgstr "B<#include E<lt>time.hE<gt>>\n" |
| 97 |
|
| 98 |
#. type: Plain text |
| 99 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 100 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 101 |
#, no-wrap |
| 102 |
msgid "" |
| 103 |
"B<char *asctime(const struct tm *>I<tm>B<);>\n" |
| 104 |
"B<char *asctime_r(const struct tm *restrict >I<tm>B<,>\n" |
| 105 |
"B< char >I<buf>B<[restrict 26]);>\n" |
| 106 |
msgstr "" |
| 107 |
"B<char *asctime(const struct tm *>I<tm>B<);>\n" |
| 108 |
"B<char *asctime_r(const struct tm *restrict >I<tm>B<,>\n" |
| 109 |
"B< char >I<tampon>B<[restrict 26]);>\n" |
| 110 |
|
| 111 |
#. type: Plain text |
| 112 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 113 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 114 |
#, no-wrap |
| 115 |
msgid "" |
| 116 |
"B<char *ctime(const time_t *>I<timep>B<);>\n" |
| 117 |
"B<char *ctime_r(const time_t *restrict >I<timep>B<,>\n" |
| 118 |
"B< char >I<buf>B<[restrict 26]);>\n" |
| 119 |
msgstr "" |
| 120 |
"B<char *ctime(const time_t *>I<timep>B<);>\n" |
| 121 |
"B<char *ctime_r(const time_t *restrict >I<timep>B<,>\n" |
| 122 |
"B< char >I<tampon>B<[restrict 26]);>\n" |
| 123 |
|
| 124 |
#. type: Plain text |
| 125 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 126 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 127 |
#, no-wrap |
| 128 |
msgid "" |
| 129 |
"B<struct tm *gmtime(const time_t *>I<timep>B<);>\n" |
| 130 |
"B<struct tm *gmtime_r(const time_t *restrict >I<timep>B<,>\n" |
| 131 |
"B< struct tm *restrict >I<result>B<);>\n" |
| 132 |
msgstr "" |
| 133 |
"B<struct tm *gmtime(const time_t *>I<timep>B<);>\n" |
| 134 |
"B<struct tm *gmtime_r(const time_t *restrict >I<timep>B<,>\n" |
| 135 |
"B< struct tm *restrict >I<résultat>B<);>\n" |
| 136 |
|
| 137 |
#. type: Plain text |
| 138 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 139 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 140 |
#, no-wrap |
| 141 |
msgid "" |
| 142 |
"B<struct tm *localtime(const time_t *>I<timep>B<);>\n" |
| 143 |
"B<struct tm *localtime_r(const time_t *restrict >I<timep>B<,>\n" |
| 144 |
"B< struct tm *restrict >I<result>B<);>\n" |
| 145 |
msgstr "" |
| 146 |
"B<struct tm *localtime(const time_t *>I<timep>B<);>\n" |
| 147 |
"B<struct tm *localtime_r(const time_t *restrict >I<timep>B<,>\n" |
| 148 |
"B< struct tm *restrict >I<résultat>B<);>\n" |
| 149 |
|
| 150 |
#. type: Plain text |
| 151 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 152 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 153 |
#, no-wrap |
| 154 |
msgid "B<time_t mktime(struct tm *>I<tm>B<);>\n" |
| 155 |
msgstr "B<time_t mktime(struct tm *>I<tm>B<);>\n" |
| 156 |
|
| 157 |
#. type: Plain text |
| 158 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 159 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 160 |
msgid "" |
| 161 |
"Feature Test Macro Requirements for glibc (see B<feature_test_macros>(7)):" |
| 162 |
msgstr "" |
| 163 |
"Exigences de macros de test de fonctionnalités pour la glibc (consulter " |
| 164 |
"B<feature_test_macros>(7)) :" |
| 165 |
|
| 166 |
#. type: Plain text |
| 167 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 168 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 169 |
msgid "B<asctime_r>(), B<ctime_r>(), B<gmtime_r>(), B<localtime_r>():" |
| 170 |
msgstr "B<asctime_r>(), B<ctime_r>(), B<gmtime_r>(), B<localtime_r>()\\ :" |
| 171 |
|
| 172 |
#. type: Plain text |
| 173 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 174 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 175 |
#, no-wrap |
| 176 |
msgid "" |
| 177 |
" _POSIX_C_SOURCE\n" |
| 178 |
" || /* glibc E<lt>= 2.19: */ _BSD_SOURCE || _SVID_SOURCE\n" |
| 179 |
msgstr "" |
| 180 |
" _POSIX_C_SOURCE\n" |
| 181 |
" || /* glibc E<lt>= 2.19 : */ _BSD_SOURCE || _SVID_SOURCE\n" |
| 182 |
|
| 183 |
#. type: SH |
| 184 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 185 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 186 |
#, no-wrap |
| 187 |
msgid "DESCRIPTION" |
| 188 |
msgstr "DESCRIPTION" |
| 189 |
|
| 190 |
#. type: Plain text |
| 191 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 192 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 193 |
msgid "" |
| 194 |
"The B<ctime>(), B<gmtime>(), and B<localtime>() functions all take an " |
| 195 |
"argument of data type I<time_t>, which represents calendar time. When " |
| 196 |
"interpreted as an absolute time value, it represents the number of seconds " |
| 197 |
"elapsed since the Epoch, 1970-01-01 00:00:00 +0000 (UTC)." |
| 198 |
msgstr "" |
| 199 |
"Les fonctions B<ctime>(), B<gmtime>() et B<localtime>() prennent toutes un " |
| 200 |
"paramètre de type I<time_t> qui représente un temps en secondes. Si l'on " |
| 201 |
"interprète ce paramètre comme une valeur de temps absolue, il s'agit du " |
| 202 |
"nombre de secondes écoulées depuis l'Époque POSIX, 1er janvier 1970 à " |
| 203 |
"00:00:00 (UTC)." |
| 204 |
|
| 205 |
#. type: Plain text |
| 206 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 207 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 208 |
msgid "" |
| 209 |
"The B<asctime>() and B<mktime>() functions both take an argument " |
| 210 |
"representing broken-down time, which is a representation separated into " |
| 211 |
"year, month, day, and so on." |
| 212 |
msgstr "" |
| 213 |
"Les fonctions B<asctime>() et B<mktime>() utilisent toutes deux un paramètre " |
| 214 |
"représentant le temps dans un format humain, c'est-à-dire année, mois, jour, " |
| 215 |
"etc." |
| 216 |
|
| 217 |
#. type: Plain text |
| 218 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 219 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 220 |
msgid "" |
| 221 |
"Broken-down time is stored in the structure I<tm>, described in B<tm>(3type)." |
| 222 |
msgstr "" |
| 223 |
"La représentation humaine («\\ broken-down time\\ ») est stockée dans la " |
| 224 |
"structure I<tm> décrite dans B<tm>(3type)." |
| 225 |
|
| 226 |
#. type: Plain text |
| 227 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 228 |
#: opensuse-tumbleweed |
| 229 |
msgid "" |
| 230 |
"The call B<ctime(>I<t>B<)> is equivalent to I<asctime(localtime(t))>. It " |
| 231 |
"converts the calendar time I<t> into a null-terminated string of the form" |
| 232 |
msgstr "" |
| 233 |
"L'appel B<ctime(>I<t>B<)> est équivalent à I<asctime(localtime(t))>. Il " |
| 234 |
"convertit le temps calendaire I<t> en une chaîne de caractères, terminée par " |
| 235 |
"un octet NULL de la forme" |
| 236 |
|
| 237 |
#. type: Plain text |
| 238 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 239 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 240 |
#, no-wrap |
| 241 |
msgid "\"Wed Jun 30 21:49:08 1993\\[rs]n\"\n" |
| 242 |
msgstr "«\\ Wed Jun 30 21:49:08 1993\\[rs]n\\ »\n" |
| 243 |
|
| 244 |
#. type: Plain text |
| 245 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 246 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 247 |
msgid "" |
| 248 |
"The abbreviations for the days of the week are \"Sun\", \"Mon\", \"Tue\", " |
| 249 |
"\"Wed\", \"Thu\", \"Fri\", and \"Sat\". The abbreviations for the months " |
| 250 |
"are \"Jan\", \"Feb\", \"Mar\", \"Apr\", \"May\", \"Jun\", \"Jul\", \"Aug\", " |
| 251 |
"\"Sep\", \"Oct\", \"Nov\", and \"Dec\". The return value points to a " |
| 252 |
"statically allocated string which might be overwritten by subsequent calls " |
| 253 |
"to any of the date and time functions. The function also sets the external " |
| 254 |
"variables I<tzname>, I<timezone>, and I<daylight> as if it called " |
| 255 |
"B<tzset>(3). The reentrant version B<ctime_r>() does the same, but stores " |
| 256 |
"the string in a user-supplied buffer which should have room for at least 26 " |
| 257 |
"bytes. It need not set I<tzname>, I<timezone>, and I<daylight>." |
| 258 |
msgstr "" |
| 259 |
"Les abréviations des jours de la semaine sont «\\ Sun\\ », «\\ Mon\\ », «\\ " |
| 260 |
"Tue\\ », «\\ Wed\\ », «\\ Thu\\ », «\\ Fri\\ » et «\\ Sat\\ ». Les " |
| 261 |
"abréviations des mois sont «\\ Jan\\ », «\\ Feb\\ », «\\ Mar\\ », «\\ " |
| 262 |
"Apr\\ », «\\ May\\ », «\\ Jun\\ », «\\ Jul\\ », «\\ Aug\\ », «\\ Sep\\ », " |
| 263 |
"«\\ Oct\\ », «\\ Nov\\ » et «\\ Dec\\ ». La valeur renvoyée pointe sur une " |
| 264 |
"chaîne statiquement allouée qui sera écrasée à chaque appel ultérieur d'une " |
| 265 |
"fonction de date ou de temps. La fonction définit aussi les variables " |
| 266 |
"externes I<tzname>, I<timezone> et I<daylight> comme si elle appelait " |
| 267 |
"B<tzset>(3). La version réentrante B<ctime_r>() effectue le même travail, " |
| 268 |
"mais stocke la chaîne dans un tampon d'une longueur minimale de 26 octets " |
| 269 |
"fourni par l'utilisateur. Elle n'a pas besoin de définir I<tzname>, " |
| 270 |
"I<timezone> et I<daylight>." |
| 271 |
|
| 272 |
#. type: Plain text |
| 273 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 274 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 275 |
msgid "" |
| 276 |
"The B<gmtime>() function converts the calendar time I<timep> to broken-down " |
| 277 |
"time representation, expressed in Coordinated Universal Time (UTC). It may " |
| 278 |
"return NULL when the year does not fit into an integer. The return value " |
| 279 |
"points to a statically allocated struct which might be overwritten by " |
| 280 |
"subsequent calls to any of the date and time functions. The B<gmtime_r>() " |
| 281 |
"function does the same, but stores the data in a user-supplied struct." |
| 282 |
msgstr "" |
| 283 |
"La fonction B<gmtime>() convertit le temps calendaire I<timep> en une " |
| 284 |
"représentation humaine exprimée en temps universel (UTC). Elle peut renvoyer " |
| 285 |
"NULL quand l'année ne tient pas dans un entier. La valeur renvoyée pointe " |
| 286 |
"vers une structure allouée statiquement qui sera écrasée à chaque appel " |
| 287 |
"ultérieur d'une fonction de date ou de temps. La fonction réentrante " |
| 288 |
"B<gmtime_r>() effectue le même travail, mais stocke le résultat dans une " |
| 289 |
"structure fournie par l'utilisateur." |
| 290 |
|
| 291 |
#. type: Plain text |
| 292 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 293 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 294 |
msgid "" |
| 295 |
"The B<localtime>() function converts the calendar time I<timep> to broken-" |
| 296 |
"down time representation, expressed relative to the user's specified " |
| 297 |
"timezone. The function also sets the external variables I<tzname>, " |
| 298 |
"I<timezone>, and I<daylight> as if it called B<tzset>(3). The return value " |
| 299 |
"points to a statically allocated struct which might be overwritten by " |
| 300 |
"subsequent calls to any of the date and time functions. The " |
| 301 |
"B<localtime_r>() function does the same, but stores the data in a user-" |
| 302 |
"supplied struct. It need not set I<tzname>, I<timezone>, and I<daylight>." |
| 303 |
msgstr "" |
| 304 |
"La fonction B<localtime>() convertit le temps calendaire I<timep> en une " |
| 305 |
"représentation humaine exprimée en fonction du fuseau horaire de " |
| 306 |
"l'utilisateur. Cette fonction définit aussi les variables externes " |
| 307 |
"I<tzname>, I<timezone> et I<daylight> comme si elle appelait B<tzset>(3). La " |
| 308 |
"valeur renvoyée pointe vers une structure allouée statiquement qui sera " |
| 309 |
"écrasée à chaque appel ultérieur d'une fonction de date ou de temps. La " |
| 310 |
"fonction réentrante B<localtime_r>() effectue le même travail, mais stocke " |
| 311 |
"le résultat dans une structure fournie par l'utilisateur. Elle n'a pas " |
| 312 |
"besoin de définir I<tzname>, I<timezone>, et I<daylight>." |
| 313 |
|
| 314 |
#. type: Plain text |
| 315 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 316 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 317 |
msgid "" |
| 318 |
"The B<asctime>() function converts the broken-down time value I<tm> into a " |
| 319 |
"null-terminated string with the same format as B<ctime>(). The return value " |
| 320 |
"points to a statically allocated string which might be overwritten by " |
| 321 |
"subsequent calls to any of the date and time functions. The B<asctime_r>() " |
| 322 |
"function does the same, but stores the string in a user-supplied buffer " |
| 323 |
"which should have room for at least 26 bytes." |
| 324 |
msgstr "" |
| 325 |
"La fonction B<asctime>() convertit une date au format humain I<tm> en une " |
| 326 |
"chaîne de caractères terminée par un octet NULL dans le même format que " |
| 327 |
"B<ctime>(). La valeur renvoyée pointe sur une chaîne allouée statiquement " |
| 328 |
"qui sera écrasée à chaque appel d'une fonction de date et de temps. La " |
| 329 |
"version réentrante B<asctime_r>() effectue le même travail, mais stocke la " |
| 330 |
"chaîne dans un tampon d'une longueur minimale de 26 octets fourni par " |
| 331 |
"l'utilisateur." |
| 332 |
|
| 333 |
#. type: Plain text |
| 334 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 335 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 336 |
msgid "" |
| 337 |
"The B<mktime>() function converts a broken-down time structure, expressed " |
| 338 |
"as local time, to calendar time representation. The function ignores the " |
| 339 |
"values supplied by the caller in the I<tm_wday> and I<tm_yday> fields. The " |
| 340 |
"value specified in the I<tm_isdst> field informs B<mktime>() whether or not " |
| 341 |
"daylight saving time (DST) is in effect for the time supplied in the I<tm> " |
| 342 |
"structure: a positive value means DST is in effect; zero means that DST is " |
| 343 |
"not in effect; and a negative value means that B<mktime>() should (use " |
| 344 |
"timezone information and system databases to) attempt to determine whether " |
| 345 |
"DST is in effect at the specified time. See B<timegm>(3) for a UTC " |
| 346 |
"equivalent of this function." |
| 347 |
msgstr "" |
| 348 |
"La fonction B<mktime>() convertit une structure de temps au format humain " |
| 349 |
"exprimée sous forme d'un temps local en une représentation de temps " |
| 350 |
"calendaire. La fonction ignore les valeurs I<tm_wday> et I<tm_yday> fournies " |
| 351 |
"par l'appelant. La valeur fournie dans le champ I<tm_isdst> indique à " |
| 352 |
"B<mktime>() si le décalage horaire d'été (DST) est pris en compte dans le " |
| 353 |
"temps fourni dans la structure I<tm>\\ : une valeur positive signifie que le " |
| 354 |
"décalage horaire d'été est effectif\\ ; la valeur zéro signifie que le " |
| 355 |
"décalage horaire d'été n'est pas effectif\\ ; une valeur négative signifie " |
| 356 |
"que B<mktime>() doit déterminer si le décalage horaire d'été est effectif " |
| 357 |
"dans le temps spécifié (en utilisant les informations de fuseaux horaires et " |
| 358 |
"les bases de données du système). Voir B<timegm>(3) pour un équivalent de " |
| 359 |
"cette fonction en UTC." |
| 360 |
|
| 361 |
#. type: Plain text |
| 362 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 363 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 364 |
msgid "" |
| 365 |
"The B<mktime>() function modifies the fields of the I<tm> structure as " |
| 366 |
"follows: I<tm_wday> and I<tm_yday> are set to values determined from the " |
| 367 |
"contents of the other fields; if structure members are outside their valid " |
| 368 |
"interval, they will be normalized (so that, for example, 40 October is " |
| 369 |
"changed into 9 November); I<tm_isdst> is set (regardless of its initial " |
| 370 |
"value) to a positive value or to 0, respectively, to indicate whether DST " |
| 371 |
"is or is not in effect at the specified time. The function also sets the " |
| 372 |
"external variables I<tzname>, I<timezone>, and I<daylight> as if it called " |
| 373 |
"B<tzset>(3)." |
| 374 |
msgstr "" |
| 375 |
"La fonction B<mktime>() modifie des champs de la structure I<tm> comme " |
| 376 |
"suit\\ : les valeurs de I<tm_wday> et I<tm_yday> sont déterminées à partir " |
| 377 |
"des valeurs des autres champs\\ ; si la valeur d'un membre de la structure " |
| 378 |
"n'est pas dans un intervalle autorisé, elle sera normalisée (par exemple, le " |
| 379 |
"40 octobre sera converti en 9 novembre)\\ ; I<tm_isdst> est défini " |
| 380 |
"(indépendamment de sa valeur initiale) à une valeur positive si le décalage " |
| 381 |
"horaire d'été est effectif dans le temps spécifié, B<0> sinon. La fonction " |
| 382 |
"définit aussi les variables externes I<tzname>, I<timezone> et I<daylight> " |
| 383 |
"comme si elle appelait B<tzset>(3)." |
| 384 |
|
| 385 |
#. type: Plain text |
| 386 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 387 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 388 |
msgid "" |
| 389 |
"If the specified broken-down time cannot be represented as calendar time " |
| 390 |
"(seconds since the Epoch), B<mktime>() returns I<(time_t)\\ -1> and does " |
| 391 |
"not alter the members of the broken-down time structure." |
| 392 |
msgstr "" |
| 393 |
"Si la représentation du temps au format humain spécifié ne peut pas être " |
| 394 |
"convertie au format calendaire (nombre de secondes depuis l'Époque POSIX, " |
| 395 |
"1er janvier 1970 à 00:00:00 (UTC)), B<mktime>() renvoie la valeur I<(time_t)" |
| 396 |
"\\ -1> et ne modifie pas les membres de la structure du temps au format " |
| 397 |
"humain." |
| 398 |
|
| 399 |
#. type: SH |
| 400 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 401 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 402 |
#, no-wrap |
| 403 |
msgid "RETURN VALUE" |
| 404 |
msgstr "VALEUR RENVOYÉE" |
| 405 |
|
| 406 |
#. type: Plain text |
| 407 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 408 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 409 |
msgid "" |
| 410 |
"On success, B<gmtime>() and B<localtime>() return a pointer to a " |
| 411 |
"I<struct\\ tm>." |
| 412 |
msgstr "" |
| 413 |
"S'ils réussissent, les appels B<gmtime>() et B<localtime>() renvoient un " |
| 414 |
"pointeur sur une I<struct\\ tm>." |
| 415 |
|
| 416 |
#. type: Plain text |
| 417 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 418 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 419 |
msgid "" |
| 420 |
"On success, B<gmtime_r>() and B<localtime_r>() return the address of the " |
| 421 |
"structure pointed to by I<result>." |
| 422 |
msgstr "" |
| 423 |
"S'ils réussissent, les appels B<gmtime_r>() et B<localtime_r>() renvoient " |
| 424 |
"l'adresse de la structure pointée par I<résultat>." |
| 425 |
|
| 426 |
#. type: Plain text |
| 427 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 428 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 429 |
msgid "On success, B<asctime>() and B<ctime>() return a pointer to a string." |
| 430 |
msgstr "" |
| 431 |
"S'ils réussissent, les appels B<asctime>() et B<ctime>() renvoient un " |
| 432 |
"pointeur sur une chaîne." |
| 433 |
|
| 434 |
#. type: Plain text |
| 435 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 436 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 437 |
msgid "" |
| 438 |
"On success, B<asctime_r>() and B<ctime_r>() return a pointer to the string " |
| 439 |
"pointed to by I<buf>." |
| 440 |
msgstr "" |
| 441 |
"S'ils réussissent, les appels B<asctime_r>() et B<ctime_r>() renvoient un " |
| 442 |
"pointeur sur la chaîne pointée par I<tampon>." |
| 443 |
|
| 444 |
#. type: Plain text |
| 445 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 446 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 447 |
msgid "" |
| 448 |
"On success, B<mktime>() returns the calendar time (seconds since the " |
| 449 |
"Epoch), expressed as a value of type I<time_t>." |
| 450 |
msgstr "" |
| 451 |
"S'il réussit, l'appel B<mktime>() renvoie le temps calendaire (nombre de " |
| 452 |
"secondes depuis l'Époque POSIX, 1er janvier 1970 à 00:00:00 (UTC)) exprimé " |
| 453 |
"sous la forme d'une valeur de type I<time_t>." |
| 454 |
|
| 455 |
#. type: Plain text |
| 456 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 457 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 458 |
msgid "" |
| 459 |
"On error, B<mktime>() returns the value I<(time_t)\\ -1>, and leaves the " |
| 460 |
"I<tm-E<gt>tm_wday> member unmodified. The remaining functions return NULL " |
| 461 |
"on error. On error, I<errno> is set to indicate the error." |
| 462 |
msgstr "" |
| 463 |
"En cas d'erreur, B<mktime>() renvoie la valeur I<(time_t)\\ -1> et laisse le " |
| 464 |
"membre I<tm-E<gt>tm_wday> inchangé. Les autres fonctions renvoient NULL en " |
| 465 |
"cas d’erreur. En cas d’erreur, I<errno> est définie pour indiquer l’erreur." |
| 466 |
|
| 467 |
#. type: SH |
| 468 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 469 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 470 |
#, no-wrap |
| 471 |
msgid "ERRORS" |
| 472 |
msgstr "ERREURS" |
| 473 |
|
| 474 |
#. type: TP |
| 475 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 476 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 477 |
#, no-wrap |
| 478 |
msgid "B<EOVERFLOW>" |
| 479 |
msgstr "B<EOVERFLOW>" |
| 480 |
|
| 481 |
#. type: Plain text |
| 482 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 483 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 484 |
msgid "The result cannot be represented." |
| 485 |
msgstr "Le résultat ne peut pas être représenté." |
| 486 |
|
| 487 |
#. type: SH |
| 488 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 489 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 490 |
#, no-wrap |
| 491 |
msgid "ATTRIBUTES" |
| 492 |
msgstr "ATTRIBUTS" |
| 493 |
|
| 494 |
#. type: Plain text |
| 495 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 496 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 497 |
msgid "" |
| 498 |
"For an explanation of the terms used in this section, see B<attributes>(7)." |
| 499 |
msgstr "" |
| 500 |
"Pour une explication des termes utilisés dans cette section, consulter " |
| 501 |
"B<attributes>(7)." |
| 502 |
|
| 503 |
#. type: tbl table |
| 504 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 505 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 506 |
#, no-wrap |
| 507 |
msgid "Interface" |
| 508 |
msgstr "Interface" |
| 509 |
|
| 510 |
#. type: tbl table |
| 511 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 512 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 513 |
#, no-wrap |
| 514 |
msgid "Attribute" |
| 515 |
msgstr "Attribut" |
| 516 |
|
| 517 |
#. type: tbl table |
| 518 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 519 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 520 |
#, no-wrap |
| 521 |
msgid "Value" |
| 522 |
msgstr "Valeur" |
| 523 |
|
| 524 |
#. type: tbl table |
| 525 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 526 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 527 |
#, no-wrap |
| 528 |
msgid ".na\n" |
| 529 |
msgstr ".na\n" |
| 530 |
|
| 531 |
#. type: tbl table |
| 532 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 533 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 534 |
#, no-wrap |
| 535 |
msgid ".nh\n" |
| 536 |
msgstr ".nh\n" |
| 537 |
|
| 538 |
#. type: TP |
| 539 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 540 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 541 |
#, no-wrap |
| 542 |
msgid "B<asctime>()" |
| 543 |
msgstr "B<asctime>()" |
| 544 |
|
| 545 |
#. #-#-#-#-# archlinux: ctime.3.pot (PACKAGE VERSION) #-#-#-#-# |
| 546 |
#. type: SS |
| 547 |
#. #-#-#-#-# debian-trixie: ctime.3.pot (PACKAGE VERSION) #-#-#-#-# |
| 548 |
#. type: tbl table |
| 549 |
#. #-#-#-#-# debian-unstable: ctime.3.pot (PACKAGE VERSION) #-#-#-#-# |
| 550 |
#. type: SS |
| 551 |
#. #-#-#-#-# fedora-44: ctime.3.pot (PACKAGE VERSION) #-#-#-#-# |
| 552 |
#. type: SS |
| 553 |
#. #-#-#-#-# fedora-rawhide: ctime.3.pot (PACKAGE VERSION) #-#-#-#-# |
| 554 |
#. type: SS |
| 555 |
#. #-#-#-#-# mageia-cauldron: ctime.3.pot (PACKAGE VERSION) #-#-#-#-# |
| 556 |
#. type: SS |
| 557 |
#. #-#-#-#-# opensuse-leap-16-1: ctime.3.pot (PACKAGE VERSION) #-#-#-#-# |
| 558 |
#. type: SS |
| 559 |
#. #-#-#-#-# opensuse-tumbleweed: ctime.3.pot (PACKAGE VERSION) #-#-#-#-# |
| 560 |
#. type: SS |
| 561 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 562 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 563 |
#, no-wrap |
| 564 |
msgid "Thread safety" |
| 565 |
msgstr "Sécurité des threads" |
| 566 |
|
| 567 |
#. type: tbl table |
| 568 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 569 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 570 |
#, no-wrap |
| 571 |
msgid "MT-Unsafe race:asctime locale" |
| 572 |
msgstr "MT-Unsafe race:asctime locale" |
| 573 |
|
| 574 |
#. type: TP |
| 575 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 576 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 577 |
#, no-wrap |
| 578 |
msgid "B<asctime_r>()" |
| 579 |
msgstr "B<asctime_r>()" |
| 580 |
|
| 581 |
#. type: tbl table |
| 582 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 583 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 584 |
#, no-wrap |
| 585 |
msgid "MT-Safe locale" |
| 586 |
msgstr "MT-Safe locale" |
| 587 |
|
| 588 |
#. type: TQ |
| 589 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 590 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 591 |
#, no-wrap |
| 592 |
msgid "B<ctime>()" |
| 593 |
msgstr "B<ctime>()" |
| 594 |
|
| 595 |
#. type: tbl table |
| 596 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 597 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 598 |
#, no-wrap |
| 599 |
msgid "" |
| 600 |
"MT-Unsafe race:tmbuf\n" |
| 601 |
"race:asctime env locale" |
| 602 |
msgstr "" |
| 603 |
"MT-Unsafe race:tmbuf\n" |
| 604 |
"race:asctime env locale" |
| 605 |
|
| 606 |
#. type: tbl table |
| 607 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 608 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 609 |
#, no-wrap |
| 610 |
msgid "" |
| 611 |
"B<ctime_r>(),\n" |
| 612 |
"B<gmtime_r>(),\n" |
| 613 |
"B<localtime_r>(),\n" |
| 614 |
"B<mktime>()" |
| 615 |
msgstr "" |
| 616 |
"B<ctime_r>(),\n" |
| 617 |
"B<gmtime_r>(),\n" |
| 618 |
"B<localtime_r>(),\n" |
| 619 |
"B<mktime>()" |
| 620 |
|
| 621 |
#. type: tbl table |
| 622 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 623 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 624 |
#, no-wrap |
| 625 |
msgid "MT-Safe env locale" |
| 626 |
msgstr "MT-Safe env locale" |
| 627 |
|
| 628 |
#. type: tbl table |
| 629 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 630 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 631 |
#, no-wrap |
| 632 |
msgid "" |
| 633 |
"B<gmtime>(),\n" |
| 634 |
"B<localtime>()" |
| 635 |
msgstr "" |
| 636 |
"B<gmtime>(),\n" |
| 637 |
"B<localtime>()" |
| 638 |
|
| 639 |
#. type: tbl table |
| 640 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 641 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 642 |
#, no-wrap |
| 643 |
msgid "MT-Unsafe race:tmbuf env locale" |
| 644 |
msgstr "MT-Unsafe race:tmbuf env locale" |
| 645 |
|
| 646 |
#. type: SH |
| 647 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 648 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 649 |
#, no-wrap |
| 650 |
msgid "VERSIONS" |
| 651 |
msgstr "VERSIONS" |
| 652 |
|
| 653 |
#. type: Plain text |
| 654 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 655 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 656 |
msgid "" |
| 657 |
"POSIX doesn't specify the parameters of B<ctime_r>() to be I<restrict>; " |
| 658 |
"that is specific to glibc." |
| 659 |
msgstr "" |
| 660 |
"POSIX ne préconise pas I<restrict> pour les paramètres de B<ctime_r>() ; " |
| 661 |
"cela est spécifique à la glibc." |
| 662 |
|
| 663 |
#. type: Plain text |
| 664 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 665 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 666 |
msgid "" |
| 667 |
"In many implementations, including glibc, a 0 in I<tm_mday> is interpreted " |
| 668 |
"as meaning the last day of the preceding month." |
| 669 |
msgstr "" |
| 670 |
"Dans de nombreuses implémentations, dont la glibc, un B<0> dans I<tm_mday> " |
| 671 |
"est interprété comme le dernier jour du mois précédent." |
| 672 |
|
| 673 |
#. See http://thread.gmane.org/gmane.comp.time.tz/2034/ |
| 674 |
#. type: Plain text |
| 675 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 676 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 677 |
msgid "" |
| 678 |
"According to POSIX.1, B<localtime>() is required to behave as though " |
| 679 |
"B<tzset>(3) was called, while B<localtime_r>() does not have this " |
| 680 |
"requirement. For portable code, B<tzset>(3) should be called before " |
| 681 |
"B<localtime_r>()." |
| 682 |
msgstr "" |
| 683 |
"Selon POSIX.1, B<localtime>() doit se comporter comme si B<tzset>(3) avait " |
| 684 |
"été appelée, alors que B<localtime_r>() n'est pas soumise à cette exigence. " |
| 685 |
"Pour un code portable, B<tzset>(3) doit être appelée avant B<localtime_r>()." |
| 686 |
|
| 687 |
#. type: SH |
| 688 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 689 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 690 |
#, no-wrap |
| 691 |
msgid "STANDARDS" |
| 692 |
msgstr "NORMES" |
| 693 |
|
| 694 |
#. type: TP |
| 695 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 696 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 697 |
#, no-wrap |
| 698 |
msgid "B<gmtime>()" |
| 699 |
msgstr "B<gmtime>()" |
| 700 |
|
| 701 |
#. type: TQ |
| 702 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 703 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 704 |
#, no-wrap |
| 705 |
msgid "B<localtime>()" |
| 706 |
msgstr "B<localtime>()" |
| 707 |
|
| 708 |
#. type: TQ |
| 709 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 710 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 711 |
#, no-wrap |
| 712 |
msgid "B<mktime>()" |
| 713 |
msgstr "B<mktime>()" |
| 714 |
|
| 715 |
#. type: Plain text |
| 716 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 717 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 718 |
msgid "C23, POSIX.1-2024." |
| 719 |
msgstr "C23, POSIX.1-2024." |
| 720 |
|
| 721 |
#. type: TP |
| 722 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 723 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 724 |
#, no-wrap |
| 725 |
msgid "B<gmtime_r>()" |
| 726 |
msgstr "B<gmtime_r>()" |
| 727 |
|
| 728 |
#. type: TQ |
| 729 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 730 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 731 |
#, no-wrap |
| 732 |
msgid "B<localtime_r>()" |
| 733 |
msgstr "B<localtime_r>()" |
| 734 |
|
| 735 |
#. type: Plain text |
| 736 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 737 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 738 |
msgid "POSIX.1-2024." |
| 739 |
msgstr "POSIX.1-2024." |
| 740 |
|
| 741 |
#. type: TQ |
| 742 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 743 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 744 |
#, no-wrap |
| 745 |
msgid "B<ctime_r>()" |
| 746 |
msgstr "B<ctime_r>()" |
| 747 |
|
| 748 |
#. type: Plain text |
| 749 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 750 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 751 |
msgid "None." |
| 752 |
msgstr "Aucun." |
| 753 |
|
| 754 |
#. type: SH |
| 755 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 756 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 757 |
#, no-wrap |
| 758 |
msgid "HISTORY" |
| 759 |
msgstr "HISTORIQUE" |
| 760 |
|
| 761 |
#. type: Plain text |
| 762 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 763 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 764 |
msgid "C89, POSIX.1-1988." |
| 765 |
msgstr "C89, POSIX.1-1998." |
| 766 |
|
| 767 |
#. type: Plain text |
| 768 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 769 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 770 |
msgid "" |
| 771 |
"C89, POSIX.1-1988. Marked obsolescent in C23 and in POSIX.1-2008 " |
| 772 |
"(recommending B<strftime>(3))." |
| 773 |
msgstr "" |
| 774 |
"C89, POSIX.1-1988. Fonction marquée obsolète dans C23 et dans POSIX.1-2008 " |
| 775 |
"(recommandant B<strftime>(3))." |
| 776 |
|
| 777 |
#. type: Plain text |
| 778 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 779 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 780 |
msgid "POSIX.1-1996." |
| 781 |
msgstr "POSIX.1-1996." |
| 782 |
|
| 783 |
#. type: Plain text |
| 784 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 785 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 786 |
msgid "" |
| 787 |
"POSIX.1-1996. Marked obsolescent in POSIX.1-2008. Removed in POSIX.1-2024 " |
| 788 |
"(recommending B<strftime>(3))." |
| 789 |
msgstr "" |
| 790 |
"POSIX.1-1996. Fonction marquée obsolète dans POSIX.1-2008 et supprimée dans " |
| 791 |
"POSIX.1-2024 (recommandant B<strftime>(3))." |
| 792 |
|
| 793 |
#. type: SH |
| 794 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 795 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 796 |
#, no-wrap |
| 797 |
msgid "CAVEATS" |
| 798 |
msgstr "AVERTISSEMENTS" |
| 799 |
|
| 800 |
#. type: Plain text |
| 801 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 802 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 803 |
msgid "" |
| 804 |
"The four functions B<asctime>(), B<ctime>(), B<gmtime>(), and " |
| 805 |
"B<localtime>() return a pointer to static data and hence are not thread-" |
| 806 |
"safe. The thread-safe versions, B<asctime_r>(), B<ctime_r>(), " |
| 807 |
"B<gmtime_r>(), and B<localtime_r>(), are specified by SUSv2." |
| 808 |
msgstr "" |
| 809 |
"Les quatre fonctions B<asctime>(), B<ctime>(), B<gmtime>() et B<localtime>() " |
| 810 |
"renvoient un pointeur vers des données statiques et ne sont donc pas sûres " |
| 811 |
"dans un contexte multithread. Les versions sûres dans un contexte " |
| 812 |
"multithread, B<asctime_r>(), B<ctime_r>(), B<gmtime_r>() et B<localtime_r>() " |
| 813 |
"sont spécifiées dans SUSv2." |
| 814 |
|
| 815 |
#. type: Plain text |
| 816 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 817 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 818 |
msgid "" |
| 819 |
"POSIX.1 says: \"The B<asctime>(), B<ctime>(), B<gmtime>(), and " |
| 820 |
"B<localtime>() functions shall return values in one of two static objects: " |
| 821 |
"a broken-down time structure and an array of type I<char>. Execution of any " |
| 822 |
"of the functions that return a pointer to one of these object types may " |
| 823 |
"overwrite the information in any object of the same type pointed to by the " |
| 824 |
"value returned from any previous call to any of them.\" This can occur in " |
| 825 |
"the glibc implementation." |
| 826 |
msgstr "" |
| 827 |
"POSIX.1 indique : « Les fonctions B<asctime>(), B<ctime>(), B<gmtime>() et " |
| 828 |
"B<localtime>() renvoient les valeurs dans l'un de ces deux objets " |
| 829 |
"statiques : une structure de temps au format humain et un tableau de type " |
| 830 |
"I<char>. L'exécution de n'importe laquelle des fonctions qui renvoient un " |
| 831 |
"pointeur vers un de ces types d’objet peut remplacer l'information dans tout " |
| 832 |
"objet du même type pointé par la valeur renvoyée par un appel précédent à " |
| 833 |
"n'importe laquelle d’entre elles ». Cela peut se produire dans " |
| 834 |
"l'implémentation de la glibc." |
| 835 |
|
| 836 |
#. type: SS |
| 837 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 838 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 839 |
#, no-wrap |
| 840 |
msgid "mktime()" |
| 841 |
msgstr "B<mktime>()" |
| 842 |
|
| 843 |
#. type: Plain text |
| 844 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 845 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 846 |
msgid "" |
| 847 |
"I<(time_t) -1> can represent a valid time (one second before the Epoch). To " |
| 848 |
"determine whether B<mktime>() failed, one must use the I<tm-E<gt>tm_wday> " |
| 849 |
"field. See the example program in EXAMPLES." |
| 850 |
msgstr "" |
| 851 |
"I<(time_t) -1> peut représenter un temps valable (une seconde avant l’Époch " |
| 852 |
"Posix). Pour voir si B<mktime>() a échoué, utilisez le champ I<tm-" |
| 853 |
"E<gt>tm_wday>. Voir l’exemple de programme dans EXEMPLES." |
| 854 |
|
| 855 |
#. type: Plain text |
| 856 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 857 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 858 |
msgid "" |
| 859 |
"The handling of a non-negative I<tm_isdst> in B<mktime>() is poorly " |
| 860 |
"specified, and passing a value that is incorrect for the time specified " |
| 861 |
"yields unspecified results. Since B<mktime>() is one of the few functions " |
| 862 |
"that knows when DST is in effect, providing a correct value may be " |
| 863 |
"difficult. One workaround for this is to call B<mktime>() twice, once with " |
| 864 |
"I<tm_isdst> set to zero, and once with I<tm_isdst> set to a positive value, " |
| 865 |
"and discarding the results from the call that changes it. If neither call " |
| 866 |
"changes I<tm_isdst> then the time specified probably happens during a fall-" |
| 867 |
"back period where DST begins or ends, and both results are valid but " |
| 868 |
"represent two different times. If both calls change it, that could indicate " |
| 869 |
"a fall-forward transition, or some other reason why the time specified does " |
| 870 |
"not exist." |
| 871 |
msgstr "" |
| 872 |
"La gestion d’un I<tm_isdst> non négatif par B<mktime>() est mal spécifiée, " |
| 873 |
"et passer une valeur de temps incorrecte peut conduire à des résultats " |
| 874 |
"imprévisibles. Comme B<mktime>() est une des rares fonctions qui sait quand " |
| 875 |
"l’heure d’été est en action, fournir une valeur correcte peut s’avérer " |
| 876 |
"difficile. Pour contourner ce problème, appeler B<mktime>() deux fois : une " |
| 877 |
"première fois avec I<tm_isdst> défini à zéro, et une deuxième fois avec " |
| 878 |
"I<tm_isdst> défini à une valeur positive et en rejetant les résultats de " |
| 879 |
"l'appel qui le modifie. Si aucun des appels ne modifie I<tm_isdst>, le temps " |
| 880 |
"spécifié intervient probablement pendant une période de transition d’heure " |
| 881 |
"d’hiver (« fall-back ») où l’heure d’été débute ou se termine, et les deux " |
| 882 |
"résultats sont valables mais représentent des temps différents. Si les deux " |
| 883 |
"appels le modifient, cela pourrait indiquer une transition vers l’heure " |
| 884 |
"d’été (« fall-forward ») ou une autre raison pour laquelle le temps spécifié " |
| 885 |
"n’existe pas." |
| 886 |
|
| 887 |
#. type: Plain text |
| 888 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 889 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 890 |
msgid "" |
| 891 |
"The specification of time zones and daylight saving time are up to regional " |
| 892 |
"governments, change often, and may include discontinuities beyond " |
| 893 |
"I<mktime>'s ability to document a result. For example, a change in the " |
| 894 |
"timezone definition may cause a clock time to be repeated or skipped without " |
| 895 |
"a corresponding DST change." |
| 896 |
msgstr "" |
| 897 |
"Les spécifications de fuseaux horaires et d’heure d’été sont à la charge des " |
| 898 |
"gouvernements régionaux, changent souvent, et peuvent comporter des " |
| 899 |
"discontinuités empêchant B<mktime> de fournir un résultat. Par exemple, un " |
| 900 |
"changement dans la définition du fuseau horaire peut provoquer la répétition " |
| 901 |
"ou l’omission d’une heure d’horloge sans changement heure d’été/heure " |
| 902 |
"d’hiver correspondant." |
| 903 |
|
| 904 |
#. type: SH |
| 905 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 906 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 907 |
#, no-wrap |
| 908 |
msgid "EXAMPLES" |
| 909 |
msgstr "EXEMPLES" |
| 910 |
|
| 911 |
#. type: Plain text |
| 912 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 913 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 914 |
msgid "" |
| 915 |
"The program below defines a wrapper that allows detecting invalid and " |
| 916 |
"ambiguous times, with B<EINVAL> and B<ENOTUNIQ>, respectively." |
| 917 |
msgstr "" |
| 918 |
"Le programme ci-après constitue une enveloppe qui permet de détecter des " |
| 919 |
"temps non valables ou ambigus avec les codes d’erreur respectifs B<EINVAL> " |
| 920 |
"et B<ENOTUNIQ>." |
| 921 |
|
| 922 |
#. type: Plain text |
| 923 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 924 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 925 |
msgid "The following shell session shows sample runs of the program:" |
| 926 |
msgstr "" |
| 927 |
"La session d'interpréteur suivante montre un échantillon d'exécution du " |
| 928 |
"programme :" |
| 929 |
|
| 930 |
#. type: Plain text |
| 931 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 932 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 933 |
#, no-wrap |
| 934 |
msgid "" |
| 935 |
"$\\ B<TZ=UTC ./a.out 1969 12 31 23 59 59 0>;\n" |
| 936 |
"-1\n" |
| 937 |
"$\n" |
| 938 |
"$\\ B<export TZ=Europe/Madrid>;\n" |
| 939 |
"$\n" |
| 940 |
"$\\ B<./a.out 2147483647 2147483647 00 00 00 00 -1>;\n" |
| 941 |
"a.out: mktime: Value too large for defined data type\n" |
| 942 |
"$\n" |
| 943 |
"$\\ B<./a.out 2024 08 23 00 17 53 -1>;\n" |
| 944 |
"1724365073\n" |
| 945 |
"$\\ B<./a.out 2024 08 23 00 17 53 0>;\n" |
| 946 |
"a.out: my_mktime: Invalid argument\n" |
| 947 |
"1724368673\n" |
| 948 |
"$\\ B<./a.out 2024 08 23 00 17 53 1>;\n" |
| 949 |
"1724365073\n" |
| 950 |
"$\n" |
| 951 |
"$\\ B<./a.out 2024 02 23 00 17 53 -1>;\n" |
| 952 |
"1708643873\n" |
| 953 |
"$\\ B<./a.out 2024 02 23 00 17 53 0>;\n" |
| 954 |
"1708643873\n" |
| 955 |
"$\\ B<./a.out 2024 02 23 00 17 53 1>;\n" |
| 956 |
"a.out: my_mktime: Invalid argument\n" |
| 957 |
"1708640273\n" |
| 958 |
"$\n" |
| 959 |
"$\\ B<./a.out 2023 03 26 02 17 53 -1>;\n" |
| 960 |
"a.out: my_mktime: Invalid argument\n" |
| 961 |
"1679793473\n" |
| 962 |
"$\n" |
| 963 |
"$\\ B<./a.out 2023 10 29 02 17 53 -1>;\n" |
| 964 |
"a.out: my_mktime: Name not unique on network\n" |
| 965 |
"1698542273\n" |
| 966 |
"$\\ B<./a.out 2023 10 29 02 17 53 0>;\n" |
| 967 |
"1698542273\n" |
| 968 |
"$\\ B<./a.out 2023 10 29 02 17 53 1>;\n" |
| 969 |
"1698538673\n" |
| 970 |
"$\n" |
| 971 |
"$\\ B<./a.out 2023 02 29 12 00 00 -1>;\n" |
| 972 |
"a.out: my_mktime: Invalid argument\n" |
| 973 |
"1677668400\n" |
| 974 |
msgstr "" |
| 975 |
"$\\ B<TZ=UTC ./a.out 1969 12 31 23 59 59 0>;\n" |
| 976 |
"-1\n" |
| 977 |
"$\n" |
| 978 |
"$\\ B<export TZ=Europe/Madrid>;\n" |
| 979 |
"$\n" |
| 980 |
"$\\ B<./a.out 2147483647 2147483647 00 00 00 00 -1>;\n" |
| 981 |
"a.out: mktime: Valeur trop grande pour le type de données défini\n" |
| 982 |
"$\n" |
| 983 |
"$\\ B<./a.out 2024 08 23 00 17 53 -1>;\n" |
| 984 |
"1724365073\n" |
| 985 |
"$\\ B<./a.out 2024 08 23 00 17 53 0>;\n" |
| 986 |
"a.out: my_mktime: Argument non valable\n" |
| 987 |
"1724368673\n" |
| 988 |
"$\\ B<./a.out 2024 08 23 00 17 53 1>;\n" |
| 989 |
"1724365073\n" |
| 990 |
"$\n" |
| 991 |
"$\\ B<./a.out 2024 02 23 00 17 53 -1>;\n" |
| 992 |
"1708643873\n" |
| 993 |
"$\\ B<./a.out 2024 02 23 00 17 53 0>;\n" |
| 994 |
"1708643873\n" |
| 995 |
"$\\ B<./a.out 2024 02 23 00 17 53 1>;\n" |
| 996 |
"a.out: my_mktime: Argument non valable\n" |
| 997 |
"1708640273\n" |
| 998 |
"$\n" |
| 999 |
"$\\ B<./a.out 2023 03 26 02 17 53 -1>;\n" |
| 1000 |
"a.out: my_mktime: Argument non valable\n" |
| 1001 |
"1679793473\n" |
| 1002 |
"$\n" |
| 1003 |
"$\\ B<./a.out 2023 10 29 02 17 53 -1>;\n" |
| 1004 |
"a.out: my_mktime: Nom non unique sur le réseau\n" |
| 1005 |
"1698542273\n" |
| 1006 |
"$\\ B<./a.out 2023 10 29 02 17 53 0>;\n" |
| 1007 |
"1698542273\n" |
| 1008 |
"$\\ B<./a.out 2023 10 29 02 17 53 1>;\n" |
| 1009 |
"1698538673\n" |
| 1010 |
"$\n" |
| 1011 |
"$\\ B<./a.out 2023 02 29 12 00 00 -1>;\n" |
| 1012 |
"a.out: my_mktime: Argument non valable\n" |
| 1013 |
"1677668400\n" |
| 1014 |
|
| 1015 |
#. type: SS |
| 1016 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 1017 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 1018 |
#, no-wrap |
| 1019 |
msgid "Program source: mktime.c" |
| 1020 |
msgstr "Source du programme mktime.c" |
| 1021 |
|
| 1022 |
#. type: Plain text |
| 1023 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 1024 |
#: opensuse-tumbleweed |
| 1025 |
#, no-wrap |
| 1026 |
msgid "" |
| 1027 |
"#include E<lt>err.hE<gt>\n" |
| 1028 |
"#include E<lt>errno.hE<gt>\n" |
| 1029 |
"#include E<lt>stdint.hE<gt>\n" |
| 1030 |
"#include E<lt>stdio.hE<gt>\n" |
| 1031 |
"#include E<lt>stdlib.hE<gt>\n" |
| 1032 |
"#include E<lt>string.hE<gt>\n" |
| 1033 |
"#include E<lt>time.hE<gt>\n" |
| 1034 |
"\\&\n" |
| 1035 |
"#define is_signed(T) ((T) -1 E<lt> 1)\n" |
| 1036 |
"\\&\n" |
| 1037 |
"static time_t my_mktime(struct tm *tp);\n" |
| 1038 |
"\\&\n" |
| 1039 |
"int\n" |
| 1040 |
"main(int argc, char *argv[])\n" |
| 1041 |
"{\n" |
| 1042 |
" char **p;\n" |
| 1043 |
" time_t t;\n" |
| 1044 |
" struct tm tm;\n" |
| 1045 |
"\\&\n" |
| 1046 |
" if (argc != 8) {\n" |
| 1047 |
" fprintf(stderr, \"Usage: %s yyyy mm dd HH MM SS isdst\\[rs]n\", argv[0]);\n" |
| 1048 |
" exit(EXIT_FAILURE);\n" |
| 1049 |
" }\n" |
| 1050 |
"\\&\n" |
| 1051 |
" p = &argv[1];\n" |
| 1052 |
" tm.tm_year = atoi(*p++) - 1900;\n" |
| 1053 |
" tm.tm_mon = atoi(*p++) - 1;\n" |
| 1054 |
" tm.tm_mday = atoi(*p++);\n" |
| 1055 |
" tm.tm_hour = atoi(*p++);\n" |
| 1056 |
" tm.tm_min = atoi(*p++);\n" |
| 1057 |
" tm.tm_sec = atoi(*p++);\n" |
| 1058 |
" tm.tm_isdst = atoi(*p++);\n" |
| 1059 |
"\\&\n" |
| 1060 |
" errno = 0;\n" |
| 1061 |
" tm.tm_wday = -1;\n" |
| 1062 |
" t = my_mktime(&tm);\n" |
| 1063 |
" if (tm.tm_wday == -1)\n" |
| 1064 |
" err(EXIT_FAILURE, \"mktime\");\n" |
| 1065 |
" if (errno == EINVAL || errno == ENOTUNIQ)\n" |
| 1066 |
" warn(\"my_mktime\");\n" |
| 1067 |
"\\&\n" |
| 1068 |
" if (is_signed(time_t))\n" |
| 1069 |
" printf(\"%jd\\[rs]n\", (intmax_t) t);\n" |
| 1070 |
" else\n" |
| 1071 |
" printf(\"%ju\\[rs]n\", (uintmax_t) t);\n" |
| 1072 |
"\\&\n" |
| 1073 |
" exit(EXIT_SUCCESS);\n" |
| 1074 |
"}\n" |
| 1075 |
"\\&\n" |
| 1076 |
"static time_t\n" |
| 1077 |
"my_mktime(struct tm *tp)\n" |
| 1078 |
"{\n" |
| 1079 |
" int e, isdst;\n" |
| 1080 |
" time_t t;\n" |
| 1081 |
" struct tm tm;\n" |
| 1082 |
" unsigned char wday[sizeof(tp-E<gt>tm_wday)];\n" |
| 1083 |
"\\&\n" |
| 1084 |
" e = errno;\n" |
| 1085 |
"\\&\n" |
| 1086 |
" tm = *tp;\n" |
| 1087 |
" isdst = tp-E<gt>tm_isdst;\n" |
| 1088 |
"\\&\n" |
| 1089 |
" memcpy(wday, &tp-E<gt>tm_wday, sizeof(wday));\n" |
| 1090 |
" tp-E<gt>tm_wday = -1;\n" |
| 1091 |
" t = mktime(tp);\n" |
| 1092 |
" if (tp-E<gt>tm_wday == -1) {\n" |
| 1093 |
" memcpy(&tp-E<gt>tm_wday, wday, sizeof(wday));\n" |
| 1094 |
" return -1;\n" |
| 1095 |
" }\n" |
| 1096 |
"\\&\n" |
| 1097 |
" if (isdst == -1)\n" |
| 1098 |
" tm.tm_isdst = tp-E<gt>tm_isdst;\n" |
| 1099 |
"\\&\n" |
| 1100 |
" if ( tm.tm_sec != tp-E<gt>tm_sec\n" |
| 1101 |
" || tm.tm_min != tp-E<gt>tm_min\n" |
| 1102 |
" || tm.tm_hour != tp-E<gt>tm_hour\n" |
| 1103 |
" || tm.tm_mday != tp-E<gt>tm_mday\n" |
| 1104 |
" || tm.tm_mon != tp-E<gt>tm_mon\n" |
| 1105 |
" || tm.tm_year != tp-E<gt>tm_year\n" |
| 1106 |
" || tm.tm_isdst != tp-E<gt>tm_isdst)\n" |
| 1107 |
" {\n" |
| 1108 |
" errno = EINVAL;\n" |
| 1109 |
" return t;\n" |
| 1110 |
" }\n" |
| 1111 |
"\\&\n" |
| 1112 |
" if (isdst != -1)\n" |
| 1113 |
" goto out;\n" |
| 1114 |
"\\&\n" |
| 1115 |
" tm = *tp;\n" |
| 1116 |
" tm.tm_isdst = !tm.tm_isdst;\n" |
| 1117 |
"\\&\n" |
| 1118 |
" tm.tm_wday = -1;\n" |
| 1119 |
" mktime(&tm);\n" |
| 1120 |
" if (tm.tm_wday == -1)\n" |
| 1121 |
" goto out;\n" |
| 1122 |
"\\&\n" |
| 1123 |
" if (tm.tm_isdst != tp-E<gt>tm_isdst) {\n" |
| 1124 |
" errno = ENOTUNIQ;\n" |
| 1125 |
" return t;\n" |
| 1126 |
" }\n" |
| 1127 |
"out:\n" |
| 1128 |
" errno = e;\n" |
| 1129 |
" return t;\n" |
| 1130 |
"}\n" |
| 1131 |
msgstr "" |
| 1132 |
"#include E<lt>err.hE<gt>\n" |
| 1133 |
"#include E<lt>errno.hE<gt>\n" |
| 1134 |
"#include E<lt>stdint.hE<gt>\n" |
| 1135 |
"#include E<lt>stdio.hE<gt>\n" |
| 1136 |
"#include E<lt>stdlib.hE<gt>\n" |
| 1137 |
"#include E<lt>string.hE<gt>\n" |
| 1138 |
"#include E<lt>time.hE<gt>\n" |
| 1139 |
"\\&\n" |
| 1140 |
"#define is_signed(T) ((T) -1 E<lt> 1)\n" |
| 1141 |
"\\&\n" |
| 1142 |
"static time_t my_mktime(struct tm *tp);\n" |
| 1143 |
"\\&\n" |
| 1144 |
"int\n" |
| 1145 |
"main(int argc, char *argv[])\n" |
| 1146 |
"{\n" |
| 1147 |
" char **p;\n" |
| 1148 |
" time_t t;\n" |
| 1149 |
" struct tm tm;\n" |
| 1150 |
"\\&\n" |
| 1151 |
" if (argc != 8) {\n" |
| 1152 |
" fprintf(stderr, \"Usage: %s yyyy mm dd HH MM SS isdst\\[rs]n\", argv[0]);\n" |
| 1153 |
" exit(EXIT_FAILURE);\n" |
| 1154 |
" }\n" |
| 1155 |
"\\&\n" |
| 1156 |
" p = &argv[1];\n" |
| 1157 |
" tm.tm_year = atoi(*p++) - 1900;\n" |
| 1158 |
" tm.tm_mon = atoi(*p++) - 1;\n" |
| 1159 |
" tm.tm_mday = atoi(*p++);\n" |
| 1160 |
" tm.tm_hour = atoi(*p++);\n" |
| 1161 |
" tm.tm_min = atoi(*p++);\n" |
| 1162 |
" tm.tm_sec = atoi(*p++);\n" |
| 1163 |
" tm.tm_isdst = atoi(*p++);\n" |
| 1164 |
"\\&\n" |
| 1165 |
" errno = 0;\n" |
| 1166 |
" tm.tm_wday = -1;\n" |
| 1167 |
" t = my_mktime(&tm);\n" |
| 1168 |
" if (tm.tm_wday == -1)\n" |
| 1169 |
" err(EXIT_FAILURE, \"mktime\");\n" |
| 1170 |
" if (errno == EINVAL || errno == ENOTUNIQ)\n" |
| 1171 |
" warn(\"my_mktime\");\n" |
| 1172 |
"\\&\n" |
| 1173 |
" if (is_signed(time_t))\n" |
| 1174 |
" printf(\"%jd\\[rs]n\", (intmax_t) t);\n" |
| 1175 |
" else\n" |
| 1176 |
" printf(\"%ju\\[rs]n\", (uintmax_t) t);\n" |
| 1177 |
"\\&\n" |
| 1178 |
" exit(EXIT_SUCCESS);\n" |
| 1179 |
"}\n" |
| 1180 |
"\\&\n" |
| 1181 |
"static time_t\n" |
| 1182 |
"my_mktime(struct tm *tp)\n" |
| 1183 |
"{\n" |
| 1184 |
" int e, isdst;\n" |
| 1185 |
" time_t t;\n" |
| 1186 |
" struct tm tm;\n" |
| 1187 |
" unsigned char wday[sizeof(tp-E<gt>tm_wday)];\n" |
| 1188 |
"\\&\n" |
| 1189 |
" e = errno;\n" |
| 1190 |
"\\&\n" |
| 1191 |
" tm = *tp;\n" |
| 1192 |
" isdst = tp-E<gt>tm_isdst;\n" |
| 1193 |
"\\&\n" |
| 1194 |
" memcpy(wday, &tp-E<gt>tm_wday, sizeof(wday));\n" |
| 1195 |
" tp-E<gt>tm_wday = -1;\n" |
| 1196 |
" t = mktime(tp);\n" |
| 1197 |
" if (tp-E<gt>tm_wday == -1) {\n" |
| 1198 |
" memcpy(&tp-E<gt>tm_wday, wday, sizeof(wday));\n" |
| 1199 |
" return -1;\n" |
| 1200 |
" }\n" |
| 1201 |
"\\&\n" |
| 1202 |
" if (isdst == -1)\n" |
| 1203 |
" tm.tm_isdst = tp-E<gt>tm_isdst;\n" |
| 1204 |
"\\&\n" |
| 1205 |
" if ( tm.tm_sec != tp-E<gt>tm_sec\n" |
| 1206 |
" || tm.tm_min != tp-E<gt>tm_min\n" |
| 1207 |
" || tm.tm_hour != tp-E<gt>tm_hour\n" |
| 1208 |
" || tm.tm_mday != tp-E<gt>tm_mday\n" |
| 1209 |
" || tm.tm_mon != tp-E<gt>tm_mon\n" |
| 1210 |
" || tm.tm_year != tp-E<gt>tm_year\n" |
| 1211 |
" || tm.tm_isdst != tp-E<gt>tm_isdst)\n" |
| 1212 |
" {\n" |
| 1213 |
" errno = EINVAL;\n" |
| 1214 |
" return t;\n" |
| 1215 |
" }\n" |
| 1216 |
"\\&\n" |
| 1217 |
" if (isdst != -1)\n" |
| 1218 |
" goto out;\n" |
| 1219 |
"\\&\n" |
| 1220 |
" tm = *tp;\n" |
| 1221 |
" tm.tm_isdst = !tm.tm_isdst;\n" |
| 1222 |
"\\&\n" |
| 1223 |
" tm.tm_wday = -1;\n" |
| 1224 |
" mktime(&tm);\n" |
| 1225 |
" if (tm.tm_wday == -1)\n" |
| 1226 |
" goto out;\n" |
| 1227 |
"\\&\n" |
| 1228 |
" if (tm.tm_isdst != tp-E<gt>tm_isdst) {\n" |
| 1229 |
" errno = ENOTUNIQ;\n" |
| 1230 |
" return t;\n" |
| 1231 |
" }\n" |
| 1232 |
"out:\n" |
| 1233 |
" errno = e;\n" |
| 1234 |
" return t;\n" |
| 1235 |
"}\n" |
| 1236 |
|
| 1237 |
#. #-#-#-#-# archlinux: ctime.3.pot (PACKAGE VERSION) #-#-#-#-# |
| 1238 |
#. SRC END |
| 1239 |
#. type: SH |
| 1240 |
#. #-#-#-#-# debian-trixie: ctime.3.pot (PACKAGE VERSION) #-#-#-#-# |
| 1241 |
#. type: SH |
| 1242 |
#. #-#-#-#-# debian-unstable: ctime.3.pot (PACKAGE VERSION) #-#-#-#-# |
| 1243 |
#. SRC END |
| 1244 |
#. type: SH |
| 1245 |
#. #-#-#-#-# fedora-44: ctime.3.pot (PACKAGE VERSION) #-#-#-#-# |
| 1246 |
#. SRC END |
| 1247 |
#. type: SH |
| 1248 |
#. #-#-#-#-# fedora-rawhide: ctime.3.pot (PACKAGE VERSION) #-#-#-#-# |
| 1249 |
#. SRC END |
| 1250 |
#. type: SH |
| 1251 |
#. #-#-#-#-# mageia-cauldron: ctime.3.pot (PACKAGE VERSION) #-#-#-#-# |
| 1252 |
#. SRC END |
| 1253 |
#. type: SH |
| 1254 |
#. #-#-#-#-# opensuse-leap-16-1: ctime.3.pot (PACKAGE VERSION) #-#-#-#-# |
| 1255 |
#. SRC END |
| 1256 |
#. type: SH |
| 1257 |
#. #-#-#-#-# opensuse-tumbleweed: ctime.3.pot (PACKAGE VERSION) #-#-#-#-# |
| 1258 |
#. SRC END |
| 1259 |
#. type: SH |
| 1260 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1261 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1262 |
#, no-wrap |
| 1263 |
msgid "SEE ALSO" |
| 1264 |
msgstr "VOIR AUSSI" |
| 1265 |
|
| 1266 |
#. type: Plain text |
| 1267 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1268 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1269 |
msgid "" |
| 1270 |
"B<date>(1), B<gettimeofday>(2), B<time>(2), B<utime>(2), B<clock>(3), " |
| 1271 |
"B<difftime>(3), B<strftime>(3), B<strptime>(3), B<timegm>(3), B<tzset>(3), " |
| 1272 |
"B<time>(7)" |
| 1273 |
msgstr "" |
| 1274 |
"B<date>(1), B<gettimeofday>(2), B<time>(2), B<utime>(2), B<clock>(3), " |
| 1275 |
"B<difftime>(3), B<strftime>(3), B<strptime>(3), B<timegm>(3), B<tzset>(3), " |
| 1276 |
"B<time>(7)" |
| 1277 |
|
| 1278 |
#. type: TH |
| 1279 |
#: debian-trixie |
| 1280 |
#, no-wrap |
| 1281 |
msgid "2024-06-15" |
| 1282 |
msgstr "15 juin 2024" |
| 1283 |
|
| 1284 |
#. type: TH |
| 1285 |
#: debian-trixie |
| 1286 |
#, no-wrap |
| 1287 |
msgid "Linux man-pages 6.9.1" |
| 1288 |
msgstr "Pages du manuel de Linux 6.9.1" |
| 1289 |
|
| 1290 |
#. type: Plain text |
| 1291 |
#: debian-trixie |
| 1292 |
msgid "Standard C library (I<libc>, I<-lc>)" |
| 1293 |
msgstr "Bibliothèque C standard (I<libc>, I<-lc>)" |
| 1294 |
|
| 1295 |
#. type: Plain text |
| 1296 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1297 |
msgid "" |
| 1298 |
"The call B<ctime(>I<t>B<)> is equivalent to B<asctime(localtime(>I<t>B<))>. " |
| 1299 |
"It converts the calendar time I<t> into a null-terminated string of the form" |
| 1300 |
msgstr "" |
| 1301 |
"L'appel B<ctime(>I<t>B<)> est équivalent à B<asctime(localtime(>I<t>B<))>. " |
| 1302 |
"Il convertit le temps calendaire I<t> en une chaîne de caractères, terminée " |
| 1303 |
"par un octet NULL de la forme" |
| 1304 |
|
| 1305 |
#. type: Plain text |
| 1306 |
#: debian-trixie |
| 1307 |
msgid "" |
| 1308 |
"The B<mktime>() function converts a broken-down time structure, expressed " |
| 1309 |
"as local time, to calendar time representation. The function ignores the " |
| 1310 |
"values supplied by the caller in the I<tm_wday> and I<tm_yday> fields. The " |
| 1311 |
"value specified in the I<tm_isdst> field informs B<mktime>() whether or not " |
| 1312 |
"daylight saving time (DST) is in effect for the time supplied in the I<tm> " |
| 1313 |
"structure: a positive value means DST is in effect; zero means that DST is " |
| 1314 |
"not in effect; and a negative value means that B<mktime>() should (use " |
| 1315 |
"timezone information and system databases to) attempt to determine whether " |
| 1316 |
"DST is in effect at the specified time." |
| 1317 |
msgstr "" |
| 1318 |
"La fonction B<mktime>() convertit une structure de temps au format humain " |
| 1319 |
"exprimée sous forme d'un temps local en une représentation de temps " |
| 1320 |
"calendaire. La fonction ignore les valeurs I<tm_wday> et I<tm_yday> fournies " |
| 1321 |
"par l'appelant. La valeur fournie dans le champ I<tm_isdst> indique à " |
| 1322 |
"B<mktime>() si le décalage horaire d'été (DST) est pris en compte dans le " |
| 1323 |
"temps fourni dans la structure I<tm>\\ : une valeur positive signifie que le " |
| 1324 |
"décalage horaire d'été est effectif\\ ; la valeur zéro signifie que le " |
| 1325 |
"décalage horaire d'été n'est pas effectif\\ ; une valeur négative signifie " |
| 1326 |
"que B<mktime>() doit déterminer si le décalage horaire d'été est effectif " |
| 1327 |
"dans le temps spécifié (en utilisant les informations de fuseaux horaires et " |
| 1328 |
"les bases de données du système)." |
| 1329 |
|
| 1330 |
#. type: Plain text |
| 1331 |
#: debian-trixie |
| 1332 |
msgid "" |
| 1333 |
"On error, B<mktime>() returns the value I<(time_t)\\ -1>. The remaining " |
| 1334 |
"functions return NULL on error. On error, I<errno> is set to indicate the " |
| 1335 |
"error." |
| 1336 |
msgstr "" |
| 1337 |
"En cas d'erreur, I<errno> est définie pour indiquer l'erreur et toutes les " |
| 1338 |
"fonctions renvoient NULL, sauf B<mktime>() qui renvoie la valeur I<(time_t)" |
| 1339 |
"\\ -1>." |
| 1340 |
|
| 1341 |
#. type: SH |
| 1342 |
#: debian-trixie |
| 1343 |
#, no-wrap |
| 1344 |
msgid "NOTES" |
| 1345 |
msgstr "NOTES" |
| 1346 |
|
| 1347 |
#. type: TH |
| 1348 |
#: fedora-44 fedora-rawhide |
| 1349 |
#, no-wrap |
| 1350 |
msgid "2025-02-18" |
| 1351 |
msgstr "18 février 2025" |
| 1352 |
|
| 1353 |
#. type: TH |
| 1354 |
#: fedora-44 fedora-rawhide |
| 1355 |
#, no-wrap |
| 1356 |
msgid "Linux man-pages 6.13" |
| 1357 |
msgstr "Pages du manuel de Linux 6.13" |
| 1358 |
|
| 1359 |
#. type: Plain text |
| 1360 |
#: fedora-44 fedora-rawhide |
| 1361 |
#, no-wrap |
| 1362 |
msgid "" |
| 1363 |
"#include E<lt>err.hE<gt>\n" |
| 1364 |
"#include E<lt>errno.hE<gt>\n" |
| 1365 |
"#include E<lt>stdint.hE<gt>\n" |
| 1366 |
"#include E<lt>stdio.hE<gt>\n" |
| 1367 |
"#include E<lt>stdlib.hE<gt>\n" |
| 1368 |
"#include E<lt>string.hE<gt>\n" |
| 1369 |
"#include E<lt>time.hE<gt>\n" |
| 1370 |
"\\&\n" |
| 1371 |
"#define is_signed(T) ((T) -1 E<lt> 1)\n" |
| 1372 |
"\\&\n" |
| 1373 |
"time_t my_mktime(struct tm *tp);\n" |
| 1374 |
"\\&\n" |
| 1375 |
"int\n" |
| 1376 |
"main(int argc, char *argv[])\n" |
| 1377 |
"{\n" |
| 1378 |
" char **p;\n" |
| 1379 |
" time_t t;\n" |
| 1380 |
" struct tm tm;\n" |
| 1381 |
"\\&\n" |
| 1382 |
" if (argc != 8) {\n" |
| 1383 |
" fprintf(stderr, \"Usage: %s yyyy mm dd HH MM SS isdst\\[rs]n\", argv[0]);\n" |
| 1384 |
" exit(EXIT_FAILURE);\n" |
| 1385 |
" }\n" |
| 1386 |
"\\&\n" |
| 1387 |
" p = &argv[1];\n" |
| 1388 |
" tm.tm_year = atoi(*p++) - 1900;\n" |
| 1389 |
" tm.tm_mon = atoi(*p++) - 1;\n" |
| 1390 |
" tm.tm_mday = atoi(*p++);\n" |
| 1391 |
" tm.tm_hour = atoi(*p++);\n" |
| 1392 |
" tm.tm_min = atoi(*p++);\n" |
| 1393 |
" tm.tm_sec = atoi(*p++);\n" |
| 1394 |
" tm.tm_isdst = atoi(*p++);\n" |
| 1395 |
"\\&\n" |
| 1396 |
" errno = 0;\n" |
| 1397 |
" tm.tm_wday = -1;\n" |
| 1398 |
" t = my_mktime(&tm);\n" |
| 1399 |
" if (tm.tm_wday == -1)\n" |
| 1400 |
" err(EXIT_FAILURE, \"mktime\");\n" |
| 1401 |
" if (errno == EINVAL || errno == ENOTUNIQ)\n" |
| 1402 |
" warn(\"my_mktime\");\n" |
| 1403 |
"\\&\n" |
| 1404 |
" if (is_signed(time_t))\n" |
| 1405 |
" printf(\"%jd\\[rs]n\", (intmax_t) t);\n" |
| 1406 |
" else\n" |
| 1407 |
" printf(\"%ju\\[rs]n\", (uintmax_t) t);\n" |
| 1408 |
"\\&\n" |
| 1409 |
" exit(EXIT_SUCCESS);\n" |
| 1410 |
"}\n" |
| 1411 |
"\\&\n" |
| 1412 |
"time_t\n" |
| 1413 |
"my_mktime(struct tm *tp)\n" |
| 1414 |
"{\n" |
| 1415 |
" int e, isdst;\n" |
| 1416 |
" time_t t;\n" |
| 1417 |
" struct tm tm;\n" |
| 1418 |
" unsigned char wday[sizeof(tp-E<gt>tm_wday)];\n" |
| 1419 |
"\\&\n" |
| 1420 |
" e = errno;\n" |
| 1421 |
"\\&\n" |
| 1422 |
" tm = *tp;\n" |
| 1423 |
" isdst = tp-E<gt>tm_isdst;\n" |
| 1424 |
"\\&\n" |
| 1425 |
" memcpy(wday, &tp-E<gt>tm_wday, sizeof(wday));\n" |
| 1426 |
" tp-E<gt>tm_wday = -1;\n" |
| 1427 |
" t = mktime(tp);\n" |
| 1428 |
" if (tp-E<gt>tm_wday == -1) {\n" |
| 1429 |
" memcpy(&tp-E<gt>tm_wday, wday, sizeof(wday));\n" |
| 1430 |
" return -1;\n" |
| 1431 |
" }\n" |
| 1432 |
"\\&\n" |
| 1433 |
" if (isdst == -1)\n" |
| 1434 |
" tm.tm_isdst = tp-E<gt>tm_isdst;\n" |
| 1435 |
"\\&\n" |
| 1436 |
" if ( tm.tm_sec != tp-E<gt>tm_sec\n" |
| 1437 |
" || tm.tm_min != tp-E<gt>tm_min\n" |
| 1438 |
" || tm.tm_hour != tp-E<gt>tm_hour\n" |
| 1439 |
" || tm.tm_mday != tp-E<gt>tm_mday\n" |
| 1440 |
" || tm.tm_mon != tp-E<gt>tm_mon\n" |
| 1441 |
" || tm.tm_year != tp-E<gt>tm_year\n" |
| 1442 |
" || tm.tm_isdst != tp-E<gt>tm_isdst)\n" |
| 1443 |
" {\n" |
| 1444 |
" errno = EINVAL;\n" |
| 1445 |
" return t;\n" |
| 1446 |
" }\n" |
| 1447 |
"\\&\n" |
| 1448 |
" if (isdst != -1)\n" |
| 1449 |
" goto out;\n" |
| 1450 |
"\\&\n" |
| 1451 |
" tm = *tp;\n" |
| 1452 |
" tm.tm_isdst = !tm.tm_isdst;\n" |
| 1453 |
"\\&\n" |
| 1454 |
" tm.tm_wday = -1;\n" |
| 1455 |
" mktime(&tm);\n" |
| 1456 |
" if (tm.tm_wday == -1)\n" |
| 1457 |
" goto out;\n" |
| 1458 |
"\\&\n" |
| 1459 |
" if (tm.tm_isdst != tp-E<gt>tm_isdst) {\n" |
| 1460 |
" errno = ENOTUNIQ;\n" |
| 1461 |
" return t;\n" |
| 1462 |
" }\n" |
| 1463 |
"out:\n" |
| 1464 |
" errno = e;\n" |
| 1465 |
" return t;\n" |
| 1466 |
"}\n" |
| 1467 |
msgstr "" |
| 1468 |
"#include E<lt>err.hE<gt>\n" |
| 1469 |
"#include E<lt>errno.hE<gt>\n" |
| 1470 |
"#include E<lt>stdint.hE<gt>\n" |
| 1471 |
"#include E<lt>stdio.hE<gt>\n" |
| 1472 |
"#include E<lt>stdlib.hE<gt>\n" |
| 1473 |
"#include E<lt>string.hE<gt>\n" |
| 1474 |
"#include E<lt>time.hE<gt>\n" |
| 1475 |
"\\&\n" |
| 1476 |
"#define is_signed(T) ((T) -1 E<lt> 1)\n" |
| 1477 |
"\\&\n" |
| 1478 |
"time_t my_mktime(struct tm *tp);\n" |
| 1479 |
"\\&\n" |
| 1480 |
"int\n" |
| 1481 |
"main(int argc, char *argv[])\n" |
| 1482 |
"{\n" |
| 1483 |
" char **p;\n" |
| 1484 |
" time_t t;\n" |
| 1485 |
" struct tm tm;\n" |
| 1486 |
"\\&\n" |
| 1487 |
" if (argc != 8) {\n" |
| 1488 |
" fprintf(stderr, \"Usage : %s yyyy mm dd HH MM SS isdst\\[rs]n\", argv[0]);\n" |
| 1489 |
" exit(EXIT_FAILURE);\n" |
| 1490 |
" }\n" |
| 1491 |
"\\&\n" |
| 1492 |
" p = &argv[1];\n" |
| 1493 |
" tm.tm_year = atoi(*p++) - 1900;\n" |
| 1494 |
" tm.tm_mon = atoi(*p++) - 1;\n" |
| 1495 |
" tm.tm_mday = atoi(*p++);\n" |
| 1496 |
" tm.tm_hour = atoi(*p++);\n" |
| 1497 |
" tm.tm_min = atoi(*p++);\n" |
| 1498 |
" tm.tm_sec = atoi(*p++);\n" |
| 1499 |
" tm.tm_isdst = atoi(*p++);\n" |
| 1500 |
"\\&\n" |
| 1501 |
" errno = 0;\n" |
| 1502 |
" tm.tm_wday = -1;\n" |
| 1503 |
" t = my_mktime(&tm);\n" |
| 1504 |
" if (tm.tm_wday == -1)\n" |
| 1505 |
" err(EXIT_FAILURE, \"mktime\");\n" |
| 1506 |
" if (errno == EINVAL || errno == ENOTUNIQ)\n" |
| 1507 |
" warn(\"my_mktime\");\n" |
| 1508 |
"\\&\n" |
| 1509 |
" if (is_signed(time_t))\n" |
| 1510 |
" printf(\"%jd\\[rs]n\", (intmax_t) t);\n" |
| 1511 |
" else\n" |
| 1512 |
" printf(\"%ju\\[rs]n\", (uintmax_t) t);\n" |
| 1513 |
"\\&\n" |
| 1514 |
" exit(EXIT_SUCCESS);\n" |
| 1515 |
"}\n" |
| 1516 |
"\\&\n" |
| 1517 |
"time_t\n" |
| 1518 |
"my_mktime(struct tm *tp)\n" |
| 1519 |
"{\n" |
| 1520 |
" int e, isdst;\n" |
| 1521 |
" time_t t;\n" |
| 1522 |
" struct tm tm;\n" |
| 1523 |
" unsigned char wday[sizeof(tp-E<gt>tm_wday)];\n" |
| 1524 |
"\\&\n" |
| 1525 |
" e = errno;\n" |
| 1526 |
"\\&\n" |
| 1527 |
" tm = *tp;\n" |
| 1528 |
" isdst = tp-E<gt>tm_isdst;\n" |
| 1529 |
"\\&\n" |
| 1530 |
" memcpy(wday, &tp-E<gt>tm_wday, sizeof(wday));\n" |
| 1531 |
" tp-E<gt>tm_wday = -1;\n" |
| 1532 |
" t = mktime(tp);\n" |
| 1533 |
" if (tp-E<gt>tm_wday == -1) {\n" |
| 1534 |
" memcpy(&tp-E<gt>tm_wday, wday, sizeof(wday));\n" |
| 1535 |
" return -1;\n" |
| 1536 |
" }\n" |
| 1537 |
"\\&\n" |
| 1538 |
" if (isdst == -1)\n" |
| 1539 |
" tm.tm_isdst = tp-E<gt>tm_isdst;\n" |
| 1540 |
"\\&\n" |
| 1541 |
" if ( tm.tm_sec != tp-E<gt>tm_sec\n" |
| 1542 |
" || tm.tm_min != tp-E<gt>tm_min\n" |
| 1543 |
" || tm.tm_hour != tp-E<gt>tm_hour\n" |
| 1544 |
" || tm.tm_mday != tp-E<gt>tm_mday\n" |
| 1545 |
" || tm.tm_mon != tp-E<gt>tm_mon\n" |
| 1546 |
" || tm.tm_year != tp-E<gt>tm_year\n" |
| 1547 |
" || tm.tm_isdst != tp-E<gt>tm_isdst)\n" |
| 1548 |
" {\n" |
| 1549 |
" errno = EINVAL;\n" |
| 1550 |
" return t;\n" |
| 1551 |
" }\n" |
| 1552 |
"\\&\n" |
| 1553 |
" if (isdst != -1)\n" |
| 1554 |
" goto out;\n" |
| 1555 |
"\\&\n" |
| 1556 |
" tm = *tp;\n" |
| 1557 |
" tm.tm_isdst = !tm.tm_isdst;\n" |
| 1558 |
"\\&\n" |
| 1559 |
" tm.tm_wday = -1;\n" |
| 1560 |
" mktime(&tm);\n" |
| 1561 |
" if (tm.tm_wday == -1)\n" |
| 1562 |
" goto out;\n" |
| 1563 |
"\\&\n" |
| 1564 |
" if (tm.tm_isdst != tp-E<gt>tm_isdst) {\n" |
| 1565 |
" errno = ENOTUNIQ;\n" |
| 1566 |
" return t;\n" |
| 1567 |
" }\n" |
| 1568 |
"out:\n" |
| 1569 |
" errno = e;\n" |
| 1570 |
" return t;\n" |
| 1571 |
"}\n" |
| 1572 |
|
| 1573 |
#. type: TH |
| 1574 |
#: mageia-cauldron |
| 1575 |
#, no-wrap |
| 1576 |
msgid "Linux man-pages 6.17" |
| 1577 |
msgstr "Pages du manuel de Linux 6.17" |
| 1578 |
|
| 1579 |
#. type: TH |
| 1580 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 1581 |
#, no-wrap |
| 1582 |
msgid "Linux man-pages (unreleased)" |
| 1583 |
msgstr "Pages du manuel de Linux (non publiées)" |