2010-03-03 15:27:30 +01:00
|
|
|
/* strncmp() Author: Kees J. Bot */
|
|
|
|
/* 1 Jan 1994 */
|
|
|
|
|
|
|
|
/* int strncmp(const char *s1, const char *s2, size_t n) */
|
|
|
|
/* Compare two strings. */
|
|
|
|
/* */
|
2010-08-17 18:44:07 +02:00
|
|
|
#include <machine/asm.h>
|
|
|
|
|
|
|
|
ENTRY(strncmp)
|
2010-03-03 15:27:30 +01:00
|
|
|
movl 12(%esp), %ecx /* Maximum length */
|
2010-08-17 18:44:07 +02:00
|
|
|
jmp _C_LABEL(_strncmp) /* Common code */
|