1 /* strncpy_from_user.S: Sparc strncpy from userspace.
3 * Copyright(C) 1996 David S. Miller
6 #include <asm/ptrace.h>
14 * -EFAULT for an exception
15 * count if we hit the buffer limit
16 * bytes copied if we hit a null byte
19 .globl __strncpy_from_user
21 /* %o0=dest, %o1=src, %o2=count */
39 .section .fixup,#alloc,#execinstr
45 .section __ex_table,#alloc