Desktop/xinu_mips-1.0.2.tar/xinu_mips-1.0.2/lib/libxc/strncmp.c File Reference

Go to the source code of this file.

Functions

int strncmp (char *s1, char *s2, int n)


Detailed Description

sstrncmp

Id
strncmp.c 221 2007-07-11 18:45:46Z mschul

Definition in file strncmp.c.


Function Documentation

int strncmp ( char *  s1,
char *  s2,
int  n 
)

Compare strings (at most n bytes).

Parameters:
*s1 first memory location
*s2 second memory location
n length to compare
Returns:
s1>s2: >0 s1==s2: 0 s1<s2: <0

Definition at line 16 of file strncmp.c.

Referenced by xsh_exit(), xsh_gpiostat(), xsh_help(), xsh_kill(), xsh_led(), xsh_memstat(), xsh_ps(), xsh_reset(), xsh_sleep(), xsh_testsuite(), and xsh_uartstat().


Generated on Thu Oct 9 22:34:51 2008 for xinu by  doxygen 1.5.5