xv6/string.c File Reference
#include "types.h"
#include "x86.h"
Go to the source code of this file.
|
Functions |
| void * | memset (void *dst, int c, uint n) |
| int | memcmp (const void *v1, const void *v2, uint n) |
| void * | memmove (void *dst, const void *src, uint n) |
| void * | memcpy (void *dst, const void *src, uint n) |
| int | strncmp (const char *p, const char *q, uint n) |
| char * | strncpy (char *s, const char *t, int n) |
| char * | safestrcpy (char *s, const char *t, int n) |
| int | strlen (const char *s) |
Function Documentation
| int memcmp |
( |
const void * |
v1, |
|
|
const void * |
v2, |
|
|
uint |
n | |
|
) |
| | |
| void* memcpy |
( |
void * |
dst, |
|
|
const void * |
src, |
|
|
uint |
n | |
|
) |
| | |
| void* memmove |
( |
void * |
dst, |
|
|
const void * |
src, |
|
|
uint |
n | |
|
) |
| | |
Definition at line 28 of file string.c.
Referenced by bootothers(), cgaputc(), exec(), fmtname(), fork(), grep(), growproc(), ilock(), iupdate(), ls(), memcpy(), readi(), readsb(), skipelem(), userinit(), and writei().
| void* memset |
( |
void * |
dst, |
|
|
int |
c, |
|
|
uint |
n | |
|
) |
| | |
| char* safestrcpy |
( |
char * |
s, |
|
|
const char * |
t, |
|
|
int |
n | |
|
) |
| | |
| int strlen |
( |
const char * |
s |
) |
|
| int strncmp |
( |
const char * |
p, |
|
|
const char * |
q, |
|
|
uint |
n | |
|
) |
| | |
| char* strncpy |
( |
char * |
s, |
|
|
const char * |
t, |
|
|
int |
n | |
|
) |
| | |