|
我想shell下用创建个文件,结果出现如下情况,请各位帮我分析下什么原因。
谢谢!
-> fp=fopen("host:d:/myfile","w")
new symbol "fp" added to symbol table.
fp = 0x491efcc: value = 78637496 = 0x4afe9b8
-> fprintf(fd,"kdkfdjk")
Exception number 0: Task: 0x4aec960 (t3)
General Protection Fault
Program Counter: 0x0040f042
Status Register: 0x00010297
42759b _vxTaskEntry +47 : 415c68 (4afea08, 491efc4, 0, 0, 0, 0, 0, 0, 0, 0)
415cc1 _wdbFuncCallLibInit+b1 : _fprintf (0, 491efc4, 0, 0, 0, 0, 0, 0, 0, 0)
value = 0 = 0x0
-> fclose(fp)
value = 0 = 0x0
->
|
|