~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to strings/strfill.c

  • Committer: Monty Taylor
  • Date: 2008-07-13 21:27:17 UTC
  • mto: (77.4.1 glibclient-merge)
  • mto: This revision was merged to the branch mainline in revision 153.
  • Revision ID: monty@inaugust.com-20080713212717-8r4dap6oqxopxrd6
Cleanup to hello_world Makefile.am

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