~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to strings/strfill.c

  • Committer: Brian Aker
  • Date: 2008-07-13 21:20:24 UTC
  • Revision ID: brian@tangent.org-20080713212024-o6263c1vha7yxdeu
More bool removal. More cow bell!

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';