Logo Search packages:      
Sourcecode: samba-doc-ja version File versions

char* talloc_asprintf ( TALLOC_CTX t,
const char *  fmt,
  ... 
)

Perform string formatting, and return a pointer to newly allocated memory holding the result, inside a memory pool.

Definition at line 294 of file talloc.c.

Referenced by talloc_describe_all().

{
      va_list ap;
      char *ret;

      va_start(ap, fmt);
      ret = talloc_vasprintf(t, fmt, ap);
      va_end(ap);
      return ret;
}


Generated by  Doxygen 1.6.0   Back to index