OSDN Git Service

(split) Import translated manuals from JM CVS Repository.
[linuxjm/LDP_man-pages.git] / release / man3 / asprintf.3
1 .\" Copyright (C) 2001 Andries Brouwer <aeb@cwi.nl>
2 .\"
3 .\" Permission is granted to make and distribute verbatim copies of this
4 .\" manual provided the copyright notice and this permission notice are
5 .\" preserved on all copies.
6 .\"
7 .\" Permission is granted to copy and distribute modified versions of this
8 .\" manual under the conditions for verbatim copying, provided that the
9 .\" entire resulting derived work is distributed under the terms of a
10 .\" permission notice identical to this one.
11 .\"
12 .\" Since the Linux kernel and libraries are constantly changing, this
13 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
14 .\" responsibility for errors or omissions, or for damages resulting from
15 .\" the use of the information contained herein.  The author(s) may not
16 .\" have taken the same level of care in the production of this manual,
17 .\" which is licensed free of charge, as they might when working
18 .\" professionally.
19 .\"
20 .\" Formatted or processed versions of this manual, if unaccompanied by
21 .\" the source, must acknowledge the copyright and authors of this work.
22 .\"
23 .\" Text fragments inspired by Martin Schulze <joey@infodrom.org>.
24 .\"
25 .\" Japanese Version Copyright (c) 2002 NAKANO Takeo all rights reserved.
26 .\" Translated Mon 14 Jan 2002 by NAKANO Takeo <nakano@apm.seikei.ac.jp>
27 .\"
28 .TH ASPRINTF 3 2001-12-18 "GNU" "Linux Programmer's Manual"
29 .SH Ì¾Á°
30 asprintf, vasprintf \- Ê¸»úÎó¤ò³ä¤êÅö¤Æ¤Æ¤½¤ì¤Ë½ÐÎϤ¹¤ë
31 .SH ½ñ¼°
32 .B #define _GNU_SOURCE
33 .br
34 .B #include <stdio.h>
35 .sp
36 .BI "int asprintf(char **" strp ", const char *" fmt ", ...);"
37 .sp
38 .BI "int vasprintf(char **" strp ", const char *" fmt ", va_list " ap );
39 .SH ÀâÌÀ
40 .BR asprintf ()
41 ´Ø¿ô¤È
42 .BR vasprintf ()
43 ´Ø¿ô¤È¤Ï¡¢¤½¤ì¤¾¤ì
44 .BR sprintf (3)
45 ´Ø¿ô¤È
46 .BR vsprintf (3)
47 ´Ø¿ô¤È¤Ë»÷¤Æ¤¤¤ë¤¬¡¢
48 ½ÐÎÏʸ»úÎó¤ò (½ªÃ¼¤Î NULL ¥Ð¥¤¥È¤â´Þ¤á¤Æ)
49 ÊÝ»ý¤¹¤ë¤Î¤Ë½½Ê¬¤ÊÂ礭¤µ¤Î¥á¥â¥ê¤ò³ÎÊݤ·¡¢
50 ºÇ½é¤Î°ú¿ô¤Ë¤½¤Îʸ»úÎó¤Ø¤Î¥Ý¥¤¥ó¥¿¤òÊÖ¤¹¡£
51 ¤³¤Î¥Ý¥¤¥ó¥¿¤Ï¡¢ÉÔÍפˤʤ俤é
52 .BR free (3)
53 ¤ËÅϤ·¡¢³ä¤êÅö¤Æ¤é¤ì¤¿µ­²±Îΰè¤ò²òÊü¤¹¤Ù¤­¤Ç¤¢¤ë¡£
54 .SH ÊÖ¤êÃÍ
55 À®¸ù¤¹¤ë¤È¡¢¤³¤ì¤é¤Î´Ø¿ô¤Ï½ÐÎϤµ¤ì¤¿¥Ð¥¤¥È¿ô¤ò
56 .RB ( sprintf (3)
57 ¤Î¤è¤¦¤Ë) ÊÖ¤¹¡£
58 ¥á¥â¥ê¤Î³ä¤êÅö¤Æ¤¬¤Ç¤­¤Ê¤«¤Ã¤¿¤ê¡¢
59 ¤½¤Î¾¥¨¥é¡¼¤¬À¸¤¸¤ë¤È¡¢
60 ¤³¤ì¤é¤Î´Ø¿ô¤Ï \-1 ¤òÊÖ¤·¡¢
61 .I strp
62 ¤ÎÆâÍƤÏ̤ÄêµÁ¤È¤Ê¤ë¡£
63 .SH ½àµò
64 ¤³¤ì¤é¤Î´Ø¿ô¤Ï GNU ¤Î³ÈÄ¥¤Ç¤¢¤ê¡¢C ¤ä POSIX ¤Î¤â¤Î¤Ç¤Ï¤Ê¤¤¡£
65 ¤³¤ì¤é¤Ï *BSD ¤Ç¤âÍøÍѤǤ­¤ë¡£
66 FreeBSD ¤Î¼ÂÁõ¤Ç¤Ï¡¢¥¨¥é¡¼¤ÎºÝ¤Ë¤Ï
67 .I strp
68 ¤ò NULL ¤Ë¥»¥Ã¥È¤¹¤ë¡£
69 .SH ´ØÏ¢¹àÌÜ
70 .BR free (3),
71 .BR malloc (3),
72 .BR printf (3),
73 .BR feature_test_macros (7)