minix/lib/libc/arch/i386/string/strncmp.S
2010-03-03 14:27:30 +00:00

13 lines
276 B
ArmAsm

/* strncmp() Author: Kees J. Bot */
/* 1 Jan 1994 */
/* int strncmp(const char *s1, const char *s2, size_t n) */
/* Compare two strings. */
/* */
.text
.globl _strncmp
.balign 16
_strncmp:
movl 12(%esp), %ecx /* Maximum length */
jmp __strncmp /* Common code */