mystring.c File Reference

#include "shell.h"
#include "syntax.h"
#include "error.h"
#include "mystring.h"

Include dependency graph for mystring.c:

Go to the source code of this file.

Functions

void scopyn (char const *from, char *to, int size)
char * mystrchr (char const *s, char charwanted)
void mybcopy (const pointer src, pointer dst, int length)
int prefix (char const *pfx, char const *string)
int number (char *s) const
int is_number (const char *p)

Variables

static char sccsid [] = "@(#)mystring.c 5.1 (Berkeley) 3/7/91"
char nullstr [1]


Function Documentation

int is_number const char *  p  ) 
 

Definition at line 166 of file mystring.c.

Referenced by number().

void mybcopy const pointer  src,
pointer  dst,
int  length
 

Definition at line 114 of file mystring.c.

References d, and s.

char* mystrchr char const *  s,
char  charwanted
 

Definition at line 89 of file mystring.c.

References NULL.

int number char *  s  )  const
 

Definition at line 150 of file mystring.c.

References atoi, error2(), and is_number().

int prefix char const *  pfx,
char const *  string
 

Definition at line 132 of file mystring.c.

void scopyn char const *  from,
char *  to,
int  size
 

Definition at line 69 of file mystring.c.


Variable Documentation

char nullstr[1]
 

Definition at line 59 of file mystring.c.

Referenced by cdcmd(), chkmail(), evalvar(), forkshell(), freejob(), ifsbreakup(), readcmd(), and unsetvar().

char sccsid[] = "@(#)mystring.c 5.1 (Berkeley) 3/7/91" [static]
 

Definition at line 38 of file mystring.c.


Generated on Fri Apr 14 22:58:57 2006 for minix by  doxygen 1.4.6