Last change
on this file since 460 was
11,
checked in by arnault, 20 years ago
|
Changing eol-style property
|
-
Property svn:eol-style set to
native
|
File size:
468 bytes
|
Line | |
---|
1 | #include <stdio.h> |
---|
2 | #include <stdlib.h> |
---|
3 | #include <direct.h> |
---|
4 | |
---|
5 | int main () |
---|
6 | { |
---|
7 | if (!_chdir ("C:/dev/TCm/v1/Win32Debug") == 0) return (1); |
---|
8 | |
---|
9 | FILE* f = _popen ("dumpbin /symbols tcmlib.lib", "r"); |
---|
10 | if (f == NULL) |
---|
11 | { |
---|
12 | printf ("rate\n"); |
---|
13 | } |
---|
14 | else |
---|
15 | { |
---|
16 | char line[256]; |
---|
17 | char* ptr; |
---|
18 | |
---|
19 | printf ("ok\n"); |
---|
20 | |
---|
21 | while ((ptr = fgets (line, sizeof (line), f)) != NULL) |
---|
22 | { |
---|
23 | printf ("> %s\n", line); |
---|
24 | } |
---|
25 | printf ("ok\n"); |
---|
26 | _pclose (f); |
---|
27 | } |
---|
28 | |
---|
29 | return (0); |
---|
30 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.