OpenCores
URL https://opencores.org/ocsvn/s6soc/s6soc/trunk

Subversion Repositories s6soc

[/] [s6soc/] [trunk/] [sw/] [zipos/] [ziplib.c] - Diff between revs 22 and 45

Show entire file | Details | Blame | View Log

Rev 22 Rev 45
Line 3... Line 3...
void *memset(void *s, int c, unsigned n) {
void *memset(void *s, int c, unsigned n) {
        int     *p = s;
        int     *p = s;
        do {
        do {
                *p++ = c;
                *p++ = c;
        } while(n-- > 0);
        } while(n-- > 0);
 
 
 
        return s;
}
}
 
 
 
 
 No newline at end of file
 No newline at end of file

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.