source:
trunk/minix/lib/i86/string/index.s@
10
| Last change on this file since 10 was 9, checked in by , 15 years ago | |
|---|---|
| File size: 281 bytes | |
| Rev | Line | |
|---|---|---|
| [9] | 1 | ! index() Author: Kees J. Bot |
| 2 | ! 27 Jan 1994 | |
| 3 | .sect .text; .sect .rom; .sect .data; .sect .bss | |
| 4 | ||
| 5 | ! char *index(const char *s, int c) | |
| 6 | ! Look for a character in a string. Has suffered from a hostile | |
| 7 | ! takeover by strchr(). | |
| 8 | ! | |
| 9 | .sect .text | |
| 10 | .define _index | |
| 11 | _index: | |
| 12 | jmp _strchr |
Note:
See TracBrowser
for help on using the repository browser.