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