~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to strings/strfill.c

Removed my_vsnprintf and my_snprintf.

Show diffs side-by-side

added added

removed removed

Lines of Context:
23
23
    strfill() returns pointer to dest+len;
24
24
*/
25
25
 
 
26
#include <my_global.h>
26
27
#include "m_string.h"
27
28
 
28
 
char * strfill(char *s, size_t len, char fill)
 
29
char * strfill(char *s, size_t len, pchar fill)
29
30
{
30
31
  while (len--) *s++ = fill;
31
32
  *(s) = '\0';