source:
tags/syscall-add-simple-foo/minix/lib/i386/string/strcat.s@
24
| Last change on this file since 24 was 9, checked in by , 15 years ago | |
|---|---|
| File size: 284 bytes | |
| Line | |
|---|---|
| 1 | ! strcat() Author: Kees J. Bot |
| 2 | ! 1 Jan 1994 |
| 3 | .sect .text; .sect .rom; .sect .data; .sect .bss |
| 4 | |
| 5 | ! char *strcat(char *s1, const char *s2) |
| 6 | ! Append string s2 to s1. |
| 7 | ! |
| 8 | .sect .text |
| 9 | .define _strcat |
| 10 | .align 16 |
| 11 | _strcat: |
| 12 | mov edx, -1 ! Unlimited length |
| 13 | jmp __strncat ! Common code |
Note:
See TracBrowser
for help on using the repository browser.