UNIX xv6 (rev8, 9/1/15)
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros
Functions
ulib.c File Reference
#include "types.h"
#include "stat.h"
#include "fcntl.h"
#include "user.h"
#include "x86.h"

Go to the source code of this file.

Functions

char * strcpy (char *s, char *t)
 
int strcmp (const char *p, const char *q)
 
uint strlen (char *s)
 
void * memset (void *dst, int c, uint n)
 
char * strchr (const char *s, char c)
 
char * gets (char *buf, int max)
 
int stat (char *n, struct stat *st)
 
int atoi (const char *s)
 
void * memmove (void *vdst, void *vsrc, int n)
 

Function Documentation

int atoi ( const char *  s)

Definition at line 85 of file ulib.c.

char* gets ( char *  buf,
int  max 
)

Definition at line 53 of file ulib.c.

void* memmove ( void *  vdst,
void *  vsrc,
int  n 
)

Definition at line 96 of file ulib.c.

void* memset ( void *  dst,
int  c,
uint  n 
)

Definition at line 37 of file ulib.c.

int stat ( char *  n,
struct stat st 
)

Definition at line 71 of file ulib.c.

char* strchr ( const char *  s,
char  c 
)

Definition at line 44 of file ulib.c.

int strcmp ( const char *  p,
const char *  q 
)

Definition at line 19 of file ulib.c.

char* strcpy ( char *  s,
char *  t 
)

Definition at line 8 of file ulib.c.

uint strlen ( char *  s)

Definition at line 27 of file ulib.c.