Logo Search packages:      
Sourcecode: likewise-open version File versions

int fstr_sprintf ( fstring  s,
const char *  fmt,
  ... 
)

Just a typesafety wrapper for snprintf into a fstring.

Definition at line 1827 of file util_str.c.

{
      va_list ap;
      int ret;

      va_start(ap, fmt);
      ret = vsnprintf(s, FSTRING_LEN, fmt, ap);
      va_end(ap);
      return ret;
}


Generated by  Doxygen 1.6.0   Back to index