2010-09-27 00:57:18 +02:00
|
|
|
/* strncmp() Author: Kees J. Bot */
|
|
|
|
/* 1 Jan 1994 */
|
2010-02-12 21:11:35 +01:00
|
|
|
|
2010-09-27 00:57:18 +02:00
|
|
|
/* int strncmp(const char *s1, const char *s2, size_t n) */
|
|
|
|
/* Compare two strings. */
|
|
|
|
/* */
|
|
|
|
#include "asm.h"
|
2010-02-12 21:11:35 +01:00
|
|
|
|
2010-09-27 00:57:18 +02:00
|
|
|
ENTRY(strncmp)
|
|
|
|
movl 12(%esp), %ecx /* Maximum length */
|
|
|
|
jmp _C_LABEL(_strncmp) /* Common code */
|