File: bstring.c

package info (click to toggle)
t1lib 5.1.2-3.6
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 9,272 kB
  • sloc: ansic: 27,809; sh: 9,877; makefile: 645
file content (9 lines) | stat: -rw-r--r-- 157 bytes parent folder | download | duplicates (32)
1
2
3
4
5
6
7
8
9
/*
 * A simple memset() in case your ANSI C does not provide it
 */

memset(void *s, int c, int length)
{  char *p = s;
  
   while (length--) *(p++) = c;
}