File:  [DVB] / dietlibc / parisc / strncpy.S
Revision 1.1: download - view: text, annotated - select for diffs
Thu Sep 4 01:50:50 2003 UTC (20 years, 9 months ago) by leitner
Branches: MAIN
CVS tags: HEAD
add parisc and sparc assembly functions (Thomas Ogrisegg)

.LEVEL	1.1

.text
.globl strncpy

strncpy:
	.PROC
	.CALLINFO
	.ENTRY
	ldb,ma 1(%r25), %r19
	addi,= -1, %r24, %r24
	cmpb,<> %r0, %r19, strncpy
	stb,ma %r19, 1(%r26)
	bv,n %r0(%rp)
	.EXIT
	.PROCEND
	.EXPORT strncpy

LinuxTV legacy CVS <linuxtv.org/cvs>