On Mon, May 14, 2007 at 11:24:14PM +0200, [EMAIL PROTECTED] wrote: > Thomas Huriaux <[EMAIL PROTECTED]> (07/05/2007): > > Une nouvelle version du paquet manpages est sortie. > > > > Les fichiers sont à récupérer dans le svn. > > C'est reparti pour tour.
C'est encore une mise à jour de la mise en forme. -- Nekral
Index: po4a/man3n-s/po/fr.po =================================================================== --- po4a/man3n-s/po/fr.po (révision 1094) +++ po4a/man3n-s/po/fr.po (copie de travail) @@ -6,13 +6,13 @@ # Thomas Huriaux <[EMAIL PROTECTED]>, 2006-2007 # Nicolas François <[EMAIL PROTECTED]>, 2007 msgid "" msgstr "" "Project-Id-Version: manpages-fr\n" -"POT-Creation-Date: 2007-05-05 17:20+0200\n" -"PO-Revision-Date: 2007-05-10 23:46+0200\n" +"POT-Creation-Date: 2007-05-13 11:14+0200\n" +"PO-Revision-Date: 2007-05-13 15:16+0200\n" "Last-Translator: Nicolas François <[EMAIL PROTECTED]>\n" "Language-Team: French <debian-l10n-french@lists.debian.org>\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" @@ -1411,23 +1411,25 @@ # type: Plain text -#: manpages-dev/C/man3/offsetof.3:73 +#: manpages-dev/C/man3/offsetof.3:74 #, no-wrap msgid "" -"int main()\n" +"int \n" +"main(void)\n" "{\n" " struct s {\n" " int i;\n" " char c;\n" " double d;\n" " char a[];\n" " };\n" msgstr "" -"int main()\n" +"int\n" +"main(void)\n" "{\n" " struct s {\n" " int i;\n" " char c;\n" " double d;\n" " char a[];\n" " };\n" @@ -3207,7 +3209,7 @@ # type: Plain text -#: manpages-dev/C/man3/printf.3:159 +#: manpages-dev/C/man3/printf.3:160 #, no-wrap -msgid "\tprintf(\"%*d\", width, num);\n" -msgstr "\tprintf(\"%*d\", width, num);\n" +msgid " printf(\"%*d\", width, num);\n" +msgstr " printf(\"%*d\", width, num);\n" @@ -3218,7 +3220,7 @@ # type: Plain text -#: manpages-dev/C/man3/printf.3:165 +#: manpages-dev/C/man3/printf.3:168 #, no-wrap -msgid "\tprintf(\"%2$*1$d\", width, num);\n" -msgstr "\tprintf(\"%2$*1$d\", width, num);\n" +msgid " printf(\"%2$*1$d\", width, num);\n" +msgstr " printf(\"%2$*1$d\", width, num);\n" @@ -3260,7 +3262,7 @@ # type: Plain text -#: manpages-dev/C/man3/printf.3:185 +#: manpages-dev/C/man3/printf.3:189 #, no-wrap -msgid "\tprintf(\"%'.2f\", 1234567.89);\n" -msgstr "\tprintf(\"%'.2f\", 1234567.89);\n" +msgid " printf(\"%'.2f\", 1234567.89);\n" +msgstr " printf(\"%'.2f\", 1234567.89);\n" @@ -4071,13 +4073,13 @@ # type: Plain text -#: manpages-dev/C/man3/printf.3:733 +#: manpages-dev/C/man3/printf.3:737 #, no-wrap msgid "" "#include E<lt>stdio.hE<gt>\n" "fprintf(stdout, \"%s, %s %d, %.2d:%.2d\\en\",\n" -"\tweekday, month, day, hour, min);\n" +" weekday, month, day, hour, min);\n" msgstr "" "#include E<lt>stdio.hE<gt>\n" -"fprintf (stdout, \"%s, %s %d, %.2d:%.2d\\en\",\n" -"\t jour_semaine, mois, jour, heure, minute);\n" +"fprintf(stdout, \"%s, %s %d, %.2d:%.2d\\en\",\n" +" jour_semaine, mois, jour, heure, minute);\n" @@ -4094,13 +4096,13 @@ # type: Plain text -#: manpages-dev/C/man3/printf.3:744 +#: manpages-dev/C/man3/printf.3:749 #, no-wrap msgid "" "#include E<lt>stdio.hE<gt>\n" "fprintf(stdout, format,\n" -"\tweekday, month, day, hour, min);\n" +" weekday, month, day, hour, min);\n" msgstr "" "#include E<lt>stdio.hE<gt>\n" "fprintf(stdout, format,\n" -" jour_semaine, mois, day, hour, min);\n" +" jour_semaine, mois, jour, heure, min);\n" @@ -4147,77 +4149,79 @@ # type: Plain text -#: manpages-dev/C/man3/printf.3:770 +#: manpages-dev/C/man3/printf.3:778 #, no-wrap msgid "" "char *\n" -"make_message(const char *fmt, ...) {\n" -" /* Guess we need no more than 100 bytes. */\n" -" int n, size = 100;\n" -" char *p, *np;\n" -" va_list ap;\n" +"make_message(const char *fmt, ...) \n" +"{\n" +" /* Guess we need no more than 100 bytes. */\n" +" int n, size = 100;\n" +" char *p, *np;\n" +" va_list ap;\n" msgstr "" "char *\n" -"make_message(const char *fmt, ...) {\n" -" /* Supposons que nous n'avons pas besoin de plus de 100 octets. */\n" -" int n, size = 100;\n" -" char *p, *np;\n" -" va_list ap;\n" - -# type: Plain text -#: manpages-dev/C/man3/printf.3:773 -#, no-wrap -msgid "" -" if ((p = malloc (size)) == NULL)\n" -" return NULL;\n" -msgstr "" -" if ((p = malloc (size)) == NULL)\n" -" return NULL;\n" - -# type: Plain text -#: manpages-dev/C/man3/printf.3:795 -#, no-wrap -msgid "" -" while (1) {\n" -" /* Try to print in the allocated space. */\n" -" va_start(ap, fmt);\n" -" n = vsnprintf (p, size, fmt, ap);\n" -" va_end(ap);\n" -" /* If that worked, return the string. */\n" -" if (n E<gt> -1 && n E<lt> size)\n" -" return p;\n" -" /* Else try again with more space. */\n" -" if (n E<gt> -1) /* glibc 2.1 */\n" -" size = n+1; /* precisely what is needed */\n" -" else /* glibc 2.0 */\n" -" size *= 2; /* twice the old size */\n" -" if ((np = realloc (p, size)) == NULL) {\n" -" free(p);\n" -" return NULL;\n" -" } else {\n" -" p = np;\n" -" }\n" -" }\n" +"make_message(const char *fmt, ...)\n" +"{\n" +" /* Supposons que nous n'avons pas besoin de plus de 100 octets. */\n" +" int n, size = 100;\n" +" char *p, *np;\n" +" va_list ap;\n" + +# type: Plain text +#: manpages-dev/C/man3/printf.3:781 +#, no-wrap +msgid "" +" if ((p = malloc(size)) == NULL)\n" +" return NULL;\n" +msgstr "" +" if ((p = malloc(size)) == NULL)\n" +" return NULL;\n" + +# type: Plain text +#: manpages-dev/C/man3/printf.3:803 +#, no-wrap +msgid "" +" while (1) {\n" +" /* Try to print in the allocated space. */\n" +" va_start(ap, fmt);\n" +" n = vsnprintf(p, size, fmt, ap);\n" +" va_end(ap);\n" +" /* If that worked, return the string. */\n" +" if (n E<gt> -1 && n E<lt> size)\n" +" return p;\n" +" /* Else try again with more space. */\n" +" if (n E<gt> -1) /* glibc 2.1 */\n" +" size = n+1; /* precisely what is needed */\n" +" else /* glibc 2.0 */\n" +" size *= 2; /* twice the old size */\n" +" if ((np = realloc (p, size)) == NULL) {\n" +" free(p);\n" +" return NULL;\n" +" } else {\n" +" p = np;\n" +" }\n" +" }\n" "}\n" msgstr "" -" while (1) {\n" -" /* Essayons avec l'espace alloué. */\n" -" va_start(ap, fmt);\n" -" n = vsnprintf (p, size, fmt, ap);\n" -" va_end(ap);\n" -" /* Si ça marche, renvoyer la chaîne. */\n" -" if (n E<gt> -1 && n E<lt> size)\n" -" return p;\n" -" /* Sinon réessayer avec plus de place. */\n" -" if (n E<gt> -1) /* glibc 2.1 */\n" -" size = n+1; /* ce qu'il fallait */\n" -" else /* glibc 2.0 */\n" -" size *= 2; /* deux fois plus */\n" -" if ((np = realloc (p, size)) == NULL) {\n" -" free(p);\n" -" return NULL;\n" -" } else {\n" -" p = np;\n" -" }\n" -" }\n" +" while (1) {\n" +" /* Essayons avec l'espace alloué. */\n" +" va_start(ap, fmt);\n" +" n = vsnprintf(p, size, fmt, ap);\n" +" va_end(ap);\n" +" /* Si ça marche, renvoyer la chaîne. */\n" +" if (n E<gt> -1 && n E<lt> size)\n" +" return p;\n" +" /* Sinon réessayer avec plus de place. */\n" +" if (n E<gt> -1) /* glibc 2.1 */\n" +" size = n+1; /* ce qu'il fallait */\n" +" else /* glibc 2.0 */\n" +" size *= 2; /* deux fois plus */\n" +" if ((np = realloc(p, size)) == NULL) {\n" +" free(p);\n" +" return NULL;\n" +" } else {\n" +" p = np;\n" +" }\n" +" }\n" "}\n" @@ -7416,21 +7420,21 @@ # type: Plain text #: manpages-dev/C/man3/realpath.3:163 #, no-wrap msgid "" "#ifdef PATH_MAX\n" " path_max = PATH_MAX;\n" "#else\n" -" path_max = pathconf (path, _PC_PATH_MAX);\n" +" path_max = pathconf(path, _PC_PATH_MAX);\n" " if (path_max E<lt>= 0)\n" " path_max = 4096;\n" "#endif\n" msgstr "" "#ifdef PATH_MAX\n" " path_max = PATH_MAX;\n" "#else\n" -" path_max = pathconf (path, _PC_PATH_MAX);\n" +" path_max = pathconf(path, _PC_PATH_MAX);\n" " if (path_max E<lt>= 0)\n" " path_max = 4096;\n" "#endif\n" @@ -12058,19 +12066,23 @@ # type: Plain text -#: manpages-dev/C/man3/rtime.3:77 +#: manpages-dev/C/man3/rtime.3:79 #, no-wrap msgid "" -"int main() {\n" +"int \n" +"main(void) \n" +"{\n" " struct sockaddr_in name;\n" " struct rpc_timeval time1 = {0,0};\n" " struct rpc_timeval timeout = {1,0};\n" " struct hostent *hent;\n" " int ret;\n" msgstr "" -"int main() {\n" +"int\n" +"main(void)\n" +"{\n" " struct sockaddr_in name;\n" " struct rpc_timeval time1 = {0,0};\n" " struct rpc_timeval timeout = {1,0};\n" " struct hostent *hent;\n" " int ret;\n" @@ -12076,15 +12088,15 @@ # type: Plain text -#: manpages-dev/C/man3/rtime.3:82 +#: manpages-dev/C/man3/rtime.3:84 #, no-wrap msgid "" -" memset((char *)&name, 0, sizeof(name));\n" +" memset((char *) &name, 0, sizeof(name));\n" " sethostent(1);\n" " hent = gethostbyname(servername);\n" -" memcpy((char *)&name.sin_addr, hent-E<gt>h_addr, hent-E<gt>h_length); \n" +" memcpy((char *) &name.sin_addr, hent-E<gt>h_addr, hent-E<gt>h_length); \n" msgstr "" -" memset((char *)&name, 0, sizeof(name));\n" +" memset((char *) &name, 0, sizeof(name));\n" " sethostent(1);\n" " hent = gethostbyname(servername);\n" -" memcpy((char *)&name.sin_addr, hent-E<gt>h_addr, hent-E<gt>h_length);\n" +" memcpy((char *) &name.sin_addr, hent-E<gt>h_addr, hent-E<gt>h_length);\n" @@ -12090,17 +12102,17 @@ # type: Plain text -#: manpages-dev/C/man3/rtime.3:88 +#: manpages-dev/C/man3/rtime.3:90 #, no-wrap msgid "" " ret = rtime(&name, &time1, use_tcp ? NULL : &timeout);\n" " if (ret E<lt> 0)\n" " perror(\"rtime error\");\n" " else\n" -" printf(\"%s\", ctime((time_t *) &time1.tv_sec));\n" +" printf(\"%s\\en\", ctime((time_t *) &time1.tv_sec));\n" msgstr "" " ret = rtime(&name, &time1, use_tcp ? NULL : &timeout);\n" " if (ret E<lt> 0)\n" " perror(\"rtime error\");\n" " else\n" -" printf(\"%s\", ctime((time_t *) &time1.tv_sec));\n" +" printf(\"%s\\en\", ctime((time_t *) &time1.tv_sec));\n" @@ -12341,37 +12353,37 @@ # type: Plain text #: manpages-dev/C/man3/rtnetlink.3:108 #, no-wrap msgid "" " memset(&req, 0, sizeof(req));\n" " req.nh.nlmsg_len = NLMSG_LENGTH(sizeof(struct ifinfomsg)); \n" " req.nh.nlmsg_flags = NLM_F_REQUEST; \n" " req.nh.nlmsg_type = RTML_NEWLINK;\n" " req.if.ifi_family = AF_UNSPEC;\n" " req.if.ifi_index = INTERFACE_INDEX; \n" " req.if.ifi_change = 0xffffffff; /* ???*/\n" " rta = (struct rtattr *)(((char *) &req) + \n" " NLMSG_ALIGN(n-E<gt>nlmsg_len));\n" " rta-E<gt>rta_type = IFLA_MTU;\n" " rta-E<gt>rta_len = sizeof(unsigned int);\n" " req.n.nlmsg_len = NLMSG_ALIGN(req.n.nlmsg_len) + \n" " RTA_LENGTH(sizeof(mtu)); \n" -" memcpy(RTA_DATA(rta), &mtu, sizeof (mtu));\n" +" memcpy(RTA_DATA(rta), &mtu, sizeof(mtu));\n" " send(rtnetlink_sk, &req, req.n.nlmsg_len); \n" msgstr "" " memset(&req, 0, sizeof(req));\n" " req.nh.nlmsg_len = NLMSG_LENGTH(sizeof(struct ifinfomsg)); \n" " req.nh.nlmsg_flags = NLM_F_REQUEST; \n" " req.nh.nlmsg_type = RTML_NEWLINK;\n" " req.if.ifi_family = AF_UNSPEC;\n" " req.if.ifi_index = INTERFACE_INDEX; \n" " req.if.ifi_change = 0xffffffff; /* ???*/\n" " rta = (struct rtattr *)(((char *) &req) + \n" " NLMSG_ALIGN(n-E<gt>nlmsg_len));\n" " rta-E<gt>rta_type = IFLA_MTU;\n" " rta-E<gt>rta_len = sizeof(unsigned int);\n" " req.n.nlmsg_len = NLMSG_ALIGN(req.n.nlmsg_len) + \n" " RTA_LENGTH(sizeof(mtu)); \n" -" memcpy(RTA_DATA(rta), &mtu, sizeof (mtu));\n" +" memcpy(RTA_DATA(rta), &mtu, sizeof(mtu));\n" " send(rtnetlink_sk, &req, req.n.nlmsg_len); \n" @@ -12633,45 +12645,27 @@ # type: Plain text -#: manpages-dev/C/man3/scandir.3:124 +#: manpages-dev/C/man3/scandir.3:121 #, no-wrap msgid "" "/* print files in current directory in reverse order */\n" "#include E<lt>dirent.hE<gt>\n" -"main(){\n" -" struct dirent **namelist;\n" -" int n;\n" msgstr "" "/* Afficher le contenu du répertoire en ordre inverse */\n" "#include E<lt>dirent.hE<gt>\n" -"main(){\n" + +# type: Plain text +#: manpages-dev/C/man3/scandir.3:127 +#, no-wrap +msgid "" +"int\n" +"main(void)\n" +"{\n" +" struct dirent **namelist;\n" +" int n;\n" +msgstr "" +"int\n" +"main(void)\n" +"{\n" " struct dirent **namelist;\n" " int n;\n" # type: Plain text #: manpages-dev/C/man3/scandir.3:136 #, no-wrap msgid "" " n = scandir(\".\", &namelist, 0, alphasort);\n" " if (n E<lt> 0)\n" " perror(\"scandir\");\n" " else {\n" " while(n--) {\n" " printf(\"%s\\en\", namelist[n]-E<gt>d_name);\n" " free(namelist[n]);\n" " }\n" " free(namelist);\n" " }\n" "}\n" msgstr "" " n = scandir(\".\", &namelist, 0, alphasort);\n" " if (n E<lt> 0)\n" " perror(\"scandir\");\n" " else {\n" " while(n--) {\n" " printf(\"%s\\en\", namelist[n]-E<gt>d_name);\n" " free (namelist [n]);\n" " }\n" " free (namelist);\n" " }\n" "}\n" @@ -14453,11 +14475,13 @@ # type: Plain text #: manpages-dev/C/man3/sem_wait.3:198 #, no-wrap msgid "" " printf(\"sem_post() from handler\\en\");\n" -" if (sem_post(&sem) == -1) die(\"sem_post\");\n" +" if (sem_post(&sem) == -1) \n" +" die(\"sem_post\");\n" msgstr "" " printf(\"sem_post() from handler\\en\");\n" -" if (sem_post(&sem) == -1) die(\"sem_post\");\n" +" if (sem_post(&sem) == -1)\n" +" die(\"sem_post\");\n" @@ -14463,13 +14487,15 @@ # type: Plain text -#: manpages-dev/C/man3/sem_wait.3:202 +#: manpages-dev/C/man3/sem_wait.3:203 #, no-wrap msgid "" -" if (sem_getvalue(&sem, &sval) == -1) die(\"sem_getvalue\");\n" +" if (sem_getvalue(&sem, &sval) == -1) \n" +" die(\"sem_getvalue\");\n" " printf(\"sem_getvalue() from handler; value = %d\\en\", sval);\n" "} /* handler */\n" msgstr "" -" if (sem_getvalue(&sem, &sval) == -1) die(\"sem_getvalue\");\n" +" if (sem_getvalue(&sem, &sval) == -1)\n" +" die(\"sem_getvalue\");\n" " printf(\"sem_getvalue() from handler; value = %d\\en\", sval);\n" "} /* handler */\n" @@ -14499,7 +14525,11 @@ # type: Plain text -#: manpages-dev/C/man3/sem_wait.3:213 +#: manpages-dev/C/man3/sem_wait.3:215 #, no-wrap -msgid " if (sem_init(&sem, 0, 0) == -1) die(\"sem_init\");\n" -msgstr " if (sem_init(&sem, 0, 0) == -1) die(\"sem_init\");\n" +msgid "" +" if (sem_init(&sem, 0, 0) == -1) \n" +" die(\"sem_init\");\n" +msgstr "" +" if (sem_init(&sem, 0, 0) == -1)\n" +" die(\"sem_init\");\n" @@ -14511,15 +14541,17 @@ # type: Plain text -#: manpages-dev/C/man3/sem_wait.3:220 +#: manpages-dev/C/man3/sem_wait.3:223 #, no-wrap msgid "" " sa.sa_handler = handler;\n" " sigemptyset(&sa.sa_mask);\n" " sa.sa_flags = 0;\n" -" if (sigaction(SIGALRM, &sa, NULL) == -1) die(\"sigaction\");\n" +" if (sigaction(SIGALRM, &sa, NULL) == -1) \n" +" die(\"sigaction\");\n" msgstr "" " sa.sa_handler = handler;\n" " sigemptyset(&sa.sa_mask);\n" " sa.sa_flags = 0;\n" -" if (sigaction(SIGALRM, &sa, NULL) == -1) die(\"sigaction\");\n" +" if (sigaction(SIGALRM, &sa, NULL) == -1)\n" +" die(\"sigaction\");\n" @@ -14733,14 +14765,14 @@ # type: Plain text #: manpages-dev/C/man3/setaliasent.3:69 msgid "" "B<getaliasbyname_r>() is the reentrant version of the previous function. " "The requested structure is stored via the second argument but the programmer " -"need to fill the other arguments also. Not providing enough space causes " +"needs to fill the other arguments also. Not providing enough space causes " "the function to fail." msgstr "" "La fonction B<getaliasbyname_r>() est la version réentrante de la fonction " "précédente. La structure recherchée est enregistrée via le deuxième argument " "mais le programmeur doit également renseigner les autres arguments. Ne pas " "fournir suffisamment d'espace provoquera l'échec de la fonction." @@ -14811,37 +14843,43 @@ # type: Plain text -#: manpages-dev/C/man3/setaliasent.3:121 +#: manpages-dev/C/man3/setaliasent.3:124 #, no-wrap msgid "" -"int main() {\n" -" struct aliasent *al;\n" -" setaliasent();\n" -" for (;;) {\n" -" al = getaliasent();\n" -" if (al == NULL) break;\n" -" printf(\"Name: %s\\en\", al-E<gt>alias_name);\n" -" }\n" -" if (errno) {\n" -" perror(\"reading alias\");\n" -" exit(EXIT_FAILURE);\n" -" }\n" -" endaliasent();\n" -" exit(EXIT_SUCCESS);\n" +"int \n" +"main(void) \n" +"{\n" +" struct aliasent *al;\n" +" setaliasent();\n" +" for (;;) {\n" +" al = getaliasent();\n" +" if (al == NULL) \n" +" break;\n" +" printf(\"Name: %s\\en\", al-E<gt>alias_name);\n" +" }\n" +" if (errno) {\n" +" perror(\"reading alias\");\n" +" exit(EXIT_FAILURE);\n" +" }\n" +" endaliasent();\n" +" exit(EXIT_SUCCESS);\n" "}\n" msgstr "" -"int main() {\n" -" struct aliasent *al;\n" -" setaliasent();\n" -" for (;;) {\n" -" al = getaliasent();\n" -" if (al == NULL) break;\n" -" printf(\"Name: %s\\en\", al-E<gt>alias_name);\n" -" }\n" -" if (errno) {\n" -" perror(\"reading alias\");\n" -" exit(EXIT_FAILURE);\n" -" }\n" -" endaliasent();\n" -" exit(EXIT_SUCCESS);\n" +"int\n" +"main(void)\n" +"{\n" +" struct aliasent *al;\n" +" setaliasent();\n" +" for (;;) {\n" +" al = getaliasent();\n" +" if (al == NULL) \n" +" break;\n" +" printf(\"Name: %s\\en\", al-E<gt>alias_name);\n" +" }\n" +" if (errno) {\n" +" perror(\"reading alias\");\n" +" exit(EXIT_FAILURE);\n" +" }\n" +" endaliasent();\n" +" exit(EXIT_SUCCESS);\n" "}\n" @@ -15086,33 +15124,29 @@ # type: Plain text -#: manpages-dev/C/man3/setbuf.3:180 +#: manpages-dev/C/man3/setbuf.3:173 +#, no-wrap +msgid "#include E<lt>stdio.hE<gt>\n" +msgstr "#include E<lt>stdio.hE<gt>\n" + +# type: Plain text +#: manpages-dev/C/man3/setbuf.3:182 #, no-wrap msgid "" -"#include E<lt>stdio.hE<gt>\n" -"int main()\n" +"int \n" +"main(void)\n" "{\n" " char buf[BUFSIZ];\n" " setbuf(stdin, buf);\n" " printf(\"Hello, world!\\en\");\n" " return 0;\n" "}\n" msgstr "" -"#include E<lt>stdio.hE<gt>\n" "int\n" -"main (void)\n" +"main(void)\n" "{\n" -" char buf [BUFSIZ];\n" -" setbuf (stdin, buf);\n" -" printf (\"Hello, world!\\en\");\n" -" return (0);\n" +" char buf[BUFSIZ];\n" +" setbuf(stdin, buf);\n" +" printf(\"Hello, world!\\en\");\n" +" return 0;\n" "}\n" # type: Plain text #: manpages-dev/C/man3/setbuf.3:189 msgid "" "B<fclose>(3), B<fflush>(3), B<fopen>(3), B<fread>(3), B<malloc>(3), B<printf>" "(3), B<puts>(3)" msgstr "" "B<fclose>(3), B<fflush>(3), B<fopen>(3), B<fread>(3), B<malloc>(3), B<printf>" "(3), B<puts>(3)" @@ -17300,13 +17343,13 @@ # type: Plain text #: manpages-dev/C/man3/sigvec.3:157 #, no-wrap msgid "" -" vec.sv_mask = sigmask(SIGQUIT) | sigpause (SIGABRT);\n" +" vec.sv_mask = sigmask(SIGQUIT) | sigpause(SIGABRT);\n" " /* Block SIGQUIT and SIGABRT during \n" " handler execution */\n" msgstr "" -" vec.sv_mask = sigmask(SIGQUIT) | sigpause (SIGABRT);\n" +" vec.sv_mask = sigmask(SIGQUIT) | sigpause(SIGABRT);\n" " /* Bloquer SIGQUIT et SIGABRT pendant\n" " l'exécution du gestionnaire */\n" @@ -17763,43 +17806,29 @@ # type: Plain text -#: manpages-dev/C/man3/sockatmark.3:99 +#: manpages-dev/C/man3/sockatmark.3:96 #, no-wrap msgid "" " for (;;) {\n" " atmark = sockatmark(fd);\n" " if (atmark == -1) {\n" " perror(\"sockatmark\");\n" " break;\n" " } \n" -"\t\n" -" if (atmark)\n" -" break;\n" msgstr "" " for (;;) {\n" " atmark = sockatmark(fd);\n" " if (atmark == -1) {\n" " perror(\"sockatmark\");\n" " break;\n" -" }\n" -"\t\n" +" } \n" + +# type: Plain text +#: manpages-dev/C/man3/sockatmark.3:99 +#, no-wrap +msgid "" +" if (atmark)\n" +" break;\n" +msgstr "" " if (atmark)\n" " break;\n" # type: Plain text #: manpages-dev/C/man3/sockatmark.3:106 #, no-wrap msgid "" " s = read(fd, buf, BUF_LEN) E<lt>= 0);\n" " if (s == -1)\n" " perror(\"read\");\n" " if (s E<lt>= 0) \n" " break;\n" " }\n" msgstr "" " s = read(fd, buf, BUF_LEN) E<lt>= 0);\n" " if (s == -1)\n" " perror(\"read\");\n" " if (s E<lt>= 0)\n" " break;\n" " }\n" @@ -18066,7 +18113,7 @@ # type: Plain text #: manpages-dev/C/man3/stdarg.3:158 #, no-wrap -msgid "\tva_list aq = ap;\n" -msgstr "\tva_list aq = ap;\n" +msgid " va_list aq = ap;\n" +msgstr " va_list aq = ap;\n" @@ -18081,11 +18128,11 @@ # type: Plain text #: manpages-dev/C/man3/stdarg.3:166 #, no-wrap msgid "" -"\tva_list aq;\n" -"\t*aq = *ap;\n" +" va_list aq;\n" +" *aq = *ap;\n" msgstr "" -"\tva_list aq;\n" -"\t*aq = *ap;\n" +" va_list aq;\n" +" *aq = *ap;\n" @@ -18108,15 +18155,15 @@ # type: Plain text #: manpages-dev/C/man3/stdarg.3:186 #, no-wrap msgid "" -"\tva_list aq;\n" -"\tva_copy(aq, ap);\n" -"\t...\n" -"\tva_end(aq);\n" -msgstr "" -"\tva_list aq;\n" -"\tva_copy(aq, ap);\n" -"\t...\n" -"\tva_end(aq);\n" +" va_list aq;\n" +" va_copy(aq, ap);\n" +" ...\n" +" va_end(aq);\n" +msgstr "" +" va_list aq;\n" +" va_copy(aq, ap);\n" +" ...\n" +" va_end(aq);\n" @@ -18155,59 +18202,63 @@ # type: Plain text -#: manpages-dev/C/man3/stdarg.3:212 +#: manpages-dev/C/man3/stdarg.3:214 +#, no-wrap +msgid "" +"void \n" +"foo(char *fmt, ...) \n" +"{\n" +" va_list ap;\n" +" int d;\n" +" char c, *s;\n" +msgstr "" +"void \n" +"foo(char *fmt, ...) \n" +"{\n" +" va_list ap;\n" +" int d;\n" +" char c, *s;\n" + +# type: Plain text +#: manpages-dev/C/man3/stdarg.3:235 #, no-wrap msgid "" -"void foo(char *fmt, ...) {\n" -"\tva_list ap;\n" -"\tint d;\n" -"\tchar c, *s;\n" -msgstr "" -"void foo(char *fmt, ...) {\n" -"\tva_list ap;\n" -"\tint d;\n" -"\tchar c, *s;\n" - -# type: Plain text -#: manpages-dev/C/man3/stdarg.3:233 -#, no-wrap -msgid "" -"\tva_start(ap, fmt);\n" -"\twhile (*fmt)\n" -"\t\tswitch(*fmt++) {\n" -"\t\tcase 's':\t\t\t/* string */\n" -"\t\t\ts = va_arg(ap, char *);\n" -"\t\t\tprintf(\"string %s\\en\", s);\n" -"\t\t\tbreak;\n" -"\t\tcase 'd':\t\t\t/* int */\n" -"\t\t\td = va_arg(ap, int);\n" -"\t\t\tprintf(\"int %d\\en\", d);\n" -"\t\t\tbreak;\n" -"\t\tcase 'c':\t\t\t/* char */\n" -"\t\t\t/* need a cast here since va_arg only\n" -"\t\t\t takes fully promoted types */\n" -"\t\t\tc = (char) va_arg(ap, int);\n" -"\t\t\tprintf(\"char %c\\en\", c);\n" -"\t\t\tbreak;\n" -"\t\t}\n" -"\tva_end(ap);\n" +" va_start(ap, fmt);\n" +" while (*fmt)\n" +" switch(*fmt++) {\n" +" case 's': /* string */\n" +" s = va_arg(ap, char *);\n" +" printf(\"string %s\\en\", s);\n" +" break;\n" +" case 'd': /* int */\n" +" d = va_arg(ap, int);\n" +" printf(\"int %d\\en\", d);\n" +" break;\n" +" case 'c': /* char */\n" +" /* need a cast here since va_arg only\n" +" takes fully promoted types */\n" +" c = (char) va_arg(ap, int);\n" +" printf(\"char %c\\en\", c);\n" +" break;\n" +" }\n" +" va_end(ap);\n" "}\n" msgstr "" -" va_start (ap, fmt);\n" -" while (*fmt)\n" -" switch (*fmt ++) {\n" -" case 's': /* chaîne */\n" -" s = va_arg (ap, char *);\n" -" printf (\"chaîne %s\\en\", s);\n" -" break;\n" -" case 'd': /* entier */\n" -" d = va_arg (ap, int);\n" -" printf (\"int %d\\en\", d);\n" -" break;\n" -" case 'c':\t/* caractère */\n" -" c = va_arg (ap, char);\n" -" printf (\"char %c\\en\", c);\n" -" break;\n" -" }\n" -" va_end (ap);\n" +" va_start(ap, fmt);\n" +" while (*fmt)\n" +" switch(*fmt ++) {\n" +" case 's': /* chaîne */\n" +" s = va_arg (ap, char *);\n" +" printf(\"chaîne %s\\en\", s);\n" +" break;\n" +" case 'd': /* entier */\n" +" d = va_arg (ap, int);\n" +" printf(\"int %d\\en\", d);\n" +" break;\n" +" case 'c':\t/* caractère */\n" +" c = va_arg (ap, char);\n" +" printf(\"char %c\\en\", c);\n" +" break;\n" +" }\n" +" va_end(ap);\n" "}\n" @@ -18255,11 +18306,17 @@ # type: Plain text -#: manpages-dev/C/man3/stdarg.3:259 +#: manpages-dev/C/man3/stdarg.3:264 #, no-wrap msgid "" -"void foo(va_alist) va_dcl {\n" -"\tva_list ap;\n" +"void \n" +"foo(va_alist) \n" +" va_dcl \n" +"{\n" +" va_list ap;\n" msgstr "" -"void foo(va_alist) va_dcl {\n" -" va_list ap;\n" +"void\n" +"foo(va_alist)\n" +" va_dcl \n" +"{\n" +" va_list ap;\n" @@ -18265,23 +18322,23 @@ # type: Plain text -#: manpages-dev/C/man3/stdarg.3:268 +#: manpages-dev/C/man3/stdarg.3:273 #, no-wrap msgid "" -"\tva_start(ap);\n" -"\twhile(...) {\n" -"\t\t...\n" -"\t\tx = va_arg(ap, type);\n" -"\t\t...\n" -"\t}\n" -"\tva_end(ap);\n" +" va_start(ap);\n" +" while(...) {\n" +" ...\n" +" x = va_arg(ap, type);\n" +" ...\n" +" }\n" +" va_end(ap);\n" "}\n" msgstr "" -" va_start(ap);\n" -" while(...) {\n" -" ...\n" -" x = va_arg(ap, type);\n" -" ...\n" -" }\n" -" va_end(ap);\n" +" va_start(ap);\n" +" while(...) {\n" +" ...\n" +" x = va_arg(ap, type);\n" +" ...\n" +" }\n" +" va_end(ap);\n" "}\n" @@ -19480,23 +19537,23 @@ # type: Plain text #: manpages-dev/C/man3/stpcpy.3:60 #, no-wrap msgid "" " int\n" " main (void)\n" " {\n" " char *to = buffer;\n" -" to = stpcpy (to, \"foo\");\n" -" to = stpcpy (to, \"bar\");\n" -" printf (\"%s\\en\", buffer);\n" +" to = stpcpy(to, \"foo\");\n" +" to = stpcpy(to, \"bar\");\n" +" printf(\"%s\\en\", buffer);\n" " }\n" msgstr "" " int\n" " main (void)\n" " {\n" " char *to = buffer;\n" -" to = stpcpy (to, \"foo\");\n" -" to = stpcpy (to, \"bar\");\n" -" printf (\"%s\\en\", buffer);\n" +" to = stpcpy(to, \"foo\");\n" +" to = stpcpy(to, \"bar\");\n" +" printf(\"%s\\en\", buffer);\n" " }\n" @@ -21549,20 +21606,25 @@ # type: Plain text -#: manpages-dev/C/man3/strftime.3:316 +#: manpages-dev/C/man3/strftime.3:322 +#, no-wrap msgid "" -"size_t my_strftime(char *s, size_t max, const char *fmt, const struct tm " -"*tm) {" +"size_t \n" +"my_strftime(char *s, size_t max, const char *fmt, \n" +" const struct tm *tm) \n" +"{\n" +" return strftime(s, max, fmt, tm);\n" +"}\n" msgstr "" -"size_t my_strftime(char *s, size_t max, const char *fmt, const struct tm " -"*tm) {" - -# type: Plain text -#: manpages-dev/C/man3/strftime.3:318 -msgid " return strftime(s, max, fmt, tm);" -msgstr " return strftime(s, max, fmt, tm);" - -# type: Plain text -#: manpages-dev/C/man3/strftime.3:320 -msgid "}" -msgstr "}" +"size_t \n" +"my_strftime(char *s, size_t max, const char *fmt, \n" +" const struct tm *tm) \n" +"{\n" +" return strftime(s, max, fmt, tm);\n" +"}\n" # type: Plain text #: manpages-dev/C/man3/strftime.3:324 msgid "The program below can be used to experiment with B<strftime>()." msgstr "" "Le programme suivant peut être utilisé pour expérimenter B<strftime>()." @@ -22480,13 +22536,17 @@ # type: Plain text -#: manpages-dev/C/man3/strptime.3:276 +#: manpages-dev/C/man3/strptime.3:278 #, no-wrap msgid "" -"int main() {\n" +"int \n" +"main(void) \n" +"{\n" " struct tm tm;\n" " char buf[255];\n" msgstr "" -"int main() {\n" +"int \n" +"main(void)\n" +"{\n" " struct tm tm;\n" " char buf[255];\n" @@ -25699,9 +25759,9 @@ +# type: Plain text +#~ msgid " return strftime(s, max, fmt, tm);" +#~ msgstr " return strftime(s, max, fmt, tm);" + +# type: Plain text +#~ msgid "}" +#~ msgstr "}" + # type: ta #~ msgid "8n 16n 32n" #~ msgstr "8n 16n 32n" # type: Plain text #~ msgid "typedef struct {" #~ msgstr "typedef struct {"