version 1.1.2.3, 2012/02/02 15:56:12
|
version 1.2.80.1, 2016/08/15 12:13:47
|
Line 73 main(int argc, char **argv)
|
Line 73 main(int argc, char **argv)
|
|
|
// part 3 |
// part 3 |
|
|
p = malloc(10000); | p = e_malloc(10000); |
f = io_fmemopen(&p, 10000); |
f = io_fmemopen(&p, 10000); |
if (!f) { |
if (!f) { |
printf("Error:: #%d - %s\n", io_GetErrno(), io_GetError()); |
printf("Error:: #%d - %s\n", io_GetErrno(), io_GetError()); |
Line 98 main(int argc, char **argv)
|
Line 98 main(int argc, char **argv)
|
printf("2.b=%s\n", b); |
printf("2.b=%s\n", b); |
|
|
fclose(f); |
fclose(f); |
free(p); | e_free(p); |
|
|
return 0; |
return 0; |
} |
} |