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

Subversion Repositories s6soc

[/] [s6soc/] [trunk/] [sw/] [zipos/] [ziplib.c] - Blame information for rev 45

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 22 dgisselq
#include "ziplib.h"
2
 
3
void *memset(void *s, int c, unsigned n) {
4
        int     *p = s;
5
        do {
6
                *p++ = c;
7
        } while(n-- > 0);
8 45 dgisselq
 
9
        return s;
10 22 dgisselq
}
11
 

powered by: WebSVN 2.1.0

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