99 * @return the formatted string |
99 * @return the formatted string |
100 * @see cx_strfree_a() |
100 * @see cx_strfree_a() |
101 */ |
101 */ |
102 __attribute__((__nonnull__(1, 2), __format__(printf, 2, 3))) |
102 __attribute__((__nonnull__(1, 2), __format__(printf, 2, 3))) |
103 cxmutstr cx_asprintf_a( |
103 cxmutstr cx_asprintf_a( |
104 CxAllocator const *allocator, |
104 const CxAllocator *allocator, |
105 char const *fmt, |
105 const char *fmt, |
106 ... |
106 ... |
107 ); |
107 ); |
108 |
108 |
109 /** |
109 /** |
110 * A \c asprintf like function which allocates space for a string |
110 * A \c asprintf like function which allocates space for a string |
132 * @return the formatted string |
132 * @return the formatted string |
133 * @see cx_asprintf_a() |
133 * @see cx_asprintf_a() |
134 */ |
134 */ |
135 __attribute__((__nonnull__)) |
135 __attribute__((__nonnull__)) |
136 cxmutstr cx_vasprintf_a( |
136 cxmutstr cx_vasprintf_a( |
137 CxAllocator const *allocator, |
137 const CxAllocator *allocator, |
138 char const *fmt, |
138 const char *fmt, |
139 va_list ap |
139 va_list ap |
140 ); |
140 ); |
141 |
141 |
142 /** |
142 /** |
143 * A \c vasprintf like function which allocates space for a string |
143 * A \c vasprintf like function which allocates space for a string |