14 lines
301 B
ArmAsm
14 lines
301 B
ArmAsm
|
! strncat() Author: Kees J. Bot
|
||
|
! 1 Jan 1994
|
||
|
.sect .text; .sect .rom; .sect .data; .sect .bss
|
||
|
|
||
|
! size_t strncat(char *s1, const char *s2, size_t n)
|
||
|
! Append string s2 to s1.
|
||
|
!
|
||
|
.sect .text
|
||
|
.define _strncat
|
||
|
.align 16
|
||
|
_strncat:
|
||
|
mov edx, 12(esp) ! Maximum length
|
||
|
jmp __strncat ! Common code
|