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

char* talloc_strdup ( TALLOC_CTX t,
const char *  p 
)

strdup with a talloc

Definition at line 282 of file talloc.c.

References talloc_memdup().

Referenced by cli_lsa_enum_privilege(), cli_lsa_enum_trust_dom(), and cli_lsa_lookup_sids().

{
      if (p)
            return talloc_memdup(t, p, strlen(p) + 1);
      else
            return NULL;
}


Generated by  Doxygen 1.6.0   Back to index