Rev 3245 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 3245 | Rev 3988 | ||
---|---|---|---|
Line 121... | Line 121... | ||
121 | return (char*)0; |
121 | return (char*)0; |
122 | } |
122 | } |
123 | 123 | ||
Line -... | Line 124... | ||
- | 124 | ||
- | 125 | char* strrchr(const char* string, int c) |
|
- | 126 | { |
|
- | 127 | int last_found; |
|
- | 128 | while (*string) |
|
- | 129 | { |
|
- | 130 | if (*string==c) |
|
- | 131 | { |
|
- | 132 | last_found = string; |
|
- | 133 | } |
|
- | 134 | string++; |
|
- | 135 | } |
|
- | 136 | return (char*)last_found; |
|
- | 137 | } |
|
- | 138 | ||
Line 124... | Line 139... | ||
124 | 139 | ||
125 | 140 | ||
126 | void _itoa(int i, char *s) |
141 | void _itoa(int i, char *s) |
127 | { |
142 | { |