25 |
* SUCH DAMAGE. |
* SUCH DAMAGE. |
26 |
* |
* |
27 |
* |
* |
28 |
* $Id: symbol.c,v 1.29 2005/08/09 17:18:22 debug Exp $ |
* $Id: symbol.c,v 1.33 2005/10/26 14:37:02 debug Exp $ |
29 |
* |
* |
30 |
* Address to symbol translation routines. |
* Address to symbol translation routines. |
31 |
* |
* |
32 |
* This module is (probably) independant from the rest of the emulator. |
* This module is (probably) independent from the rest of the emulator. |
33 |
* symbol_init() must be called before any other function in this |
* symbol_init() must be called before any other function in this file is used. |
|
* file is used. |
|
34 |
*/ |
*/ |
35 |
|
|
36 |
#include <stdio.h> |
#include <stdio.h> |
241 |
n_args = 2; |
n_args = 2; |
242 |
if (strcmp(name, "strcpy") == 0) |
if (strcmp(name, "strcpy") == 0) |
243 |
n_args = 2; |
n_args = 2; |
244 |
|
if (strcmp(name, "strncpy") == 0) |
245 |
|
n_args = 3; |
246 |
|
if (strcmp(name, "strlcpy") == 0) |
247 |
|
n_args = 3; |
248 |
|
if (strcmp(name, "strlcat") == 0) |
249 |
|
n_args = 3; |
250 |
if (strcmp(name, "strncmp") == 0) |
if (strcmp(name, "strncmp") == 0) |
251 |
n_args = 3; |
n_args = 3; |
252 |
if (strcmp(name, "memset") == 0) |
if (strcmp(name, "memset") == 0) |