strcpy.s
来自「好强悍的minix2.0的源码,是你学习操作系统和Linux编程不可或缺的源码!」· S 代码 · 共 23 行
S
23 行
! strcpy() Author: Kees J. Bot! 1 Jan 1994.sect .text; .sect .rom; .sect .data; .sect .bss! char *strcpy(char *s1, const char *s2)! Copy string s2 to s1.!.sect .text.define _strcpy .align 16_strcpy: push ebp mov ebp, esp push esi push edi mov ecx, -1 ! Unlimited length call __strncpy ! Common code mov eax, 8(ebp) ! Return s1 pop edi pop esi pop ebp ret
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?