strncat.S (498495dba268b20e8eadd7fe93c140c68b6cc9d2) | strncat.S (f3c78e949d3fb0afcc1bdd8e44b0902897fc2f84) |
---|---|
1/* SPDX-License-Identifier: GPL-2.0 */ 2/* 3 * arch/alpha/lib/strncat.S 4 * Contributed by Richard Henderson (rth@tamu.edu) 5 * 6 * Append no more than COUNT characters from the null-terminated string SRC 7 * to the null-terminated string DST. Always null-terminate the new DST. 8 * 9 * This differs slightly from the semantics in libc in that we never write 10 * past count, whereas libc may write to count+1. This follows the generic 11 * implementation in lib/string.c and is, IMHO, more sensible. 12 */ | 1/* SPDX-License-Identifier: GPL-2.0 */ 2/* 3 * arch/alpha/lib/strncat.S 4 * Contributed by Richard Henderson (rth@tamu.edu) 5 * 6 * Append no more than COUNT characters from the null-terminated string SRC 7 * to the null-terminated string DST. Always null-terminate the new DST. 8 * 9 * This differs slightly from the semantics in libc in that we never write 10 * past count, whereas libc may write to count+1. This follows the generic 11 * implementation in lib/string.c and is, IMHO, more sensible. 12 */ |
13#include <asm/export.h> | 13#include <linux/export.h> |
14 .text 15 16 .align 3 17 .globl strncat 18 .ent strncat 19strncat: 20 .frame $30, 0, $26 21 .prologue 0 --- 65 unchanged lines hidden --- | 14 .text 15 16 .align 3 17 .globl strncat 18 .ent strncat 19strncat: 20 .frame $30, 0, $26 21 .prologue 0 --- 65 unchanged lines hidden --- |