mirror of
https://github.com/KolibriOS/kolibrios.git
synced 2024-12-29 01:39:41 +03:00
12 lines
259 B
ArmAsm
12 lines
259 B
ArmAsm
|
/* strcmp() Author: Kees J. Bot */
|
||
|
/* 1 Jan 1994 */
|
||
|
|
||
|
/* int strcmp(const char *s1, const char *s2) */
|
||
|
/* Compare two strings. */
|
||
|
/* */
|
||
|
#include "asm.h"
|
||
|
|
||
|
ENTRY(strcmp)
|
||
|
movl $-1, %ecx /* Unlimited length */
|
||
|
jmp _C_LABEL(_strncmp) /* Common code */
|