mirror of
https://github.com/KolibriOS/kolibrios.git
synced 2024-12-03 05:41:55 +03:00
49cb0f914d
devman: scan pci root bus git-svn-id: svn://kolibrios.org@1627 a494cfbc-eb01-0410-851d-a64ba20cac60
12 lines
270 B
ArmAsm
12 lines
270 B
ArmAsm
/* strnlen() Author: Kees J. Bot */
|
|
/* 1 Jan 1994 */
|
|
|
|
/* size_t strnlen(const char *s, size_t n) */
|
|
/* Return the length of a string. */
|
|
/* */
|
|
#include "asm.h"
|
|
|
|
ENTRY(strnlen)
|
|
movl 8(%esp), %ecx /* Maximum length */
|
|
jmp _C_LABEL(_strnlen) /* Common code */
|