Debian Codegraph @

libsrc/os/unix/testos.c

raw
1 /*===========================================================================
2 Copyright (C) 1995-2009 European Southern Observatory (ESO)
3
4 This program is free software; you can redistribute it and/or
5 modify it under the terms of the GNU General Public License as
6 published by the Free Software Foundation; either version 2 of
7 the License, or (at your option) any later version.
8
9 This program is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 GNU General Public License for more details.
13
14 You should have received a copy of the GNU General Public
15 License along with this program; if not, write to the Free
16 Software Foundation, Inc., 675 Massachusetts Ave, Cambridge,
17 MA 02139, USA.
18
19 Correspondence concerning ESO-MIDAS should be addressed as follows:
20 Internet e-mail: [email protected]
21 Postal address: European Southern Observatory
22 Data Management Division
23 Karl-Schwarzschild-Strasse 2
24 D 85748 Garching bei Muenchen
25 GERMANY
26 ===========================================================================*/
27
28 /* this code just checks, that all os routines are there and can be linked... */
29
30
31 int main()
32 {
33
34 void osscatch(), osssend(), osswait();
35 void oshcmd(), oshcpu(), oshdate(), oshmsg(), oshtime(), oshtl(), oshtm();
36 void oshchdir(), oshmidvers();
37 void osaclose(), osaopen(), osaread(), osaseek(), osasize(), osaunix(), osawait(), osawrite();
38 void osdclose(), osdopen(), osdputs(), osdread(), osdseek(), osdwrite();
39 void osfcontrol(), osfcreate(), osfdelete(), osfinfo(), osflgname(), osfmkdir(), osfphname(), osfrename();
40 void ospcreate(), ospexit(), ospwait(), osppid();
41 void ospuwait();
42 void osxclose(), osxinfo(), osxopen(), osxread(), osxwrite();
43 void osubsize(), osuclose(), osufclose(), osufseek(), osuftell(), osuopen(), osuread(), osustatus(), osuwrite();
44 void oscbloc(), oscbscan(), oscbskip(), oscbspan(), osccomp(), oscfill(), oscindex(), oscloc(), oscomp(), oscopuc(), oscopy(), oscscan(), oscskip(), oscspan(), osctr();
45 void osmsg(), osmmexp(), osmmfree(), osmmget();
46 void oshenv(), oshpid();
47 void ostclose(), ostin(), ostinfo(), ostint(), ostopen(), ostraw(), ostread(), ostset(), ostwinch(), ostwrite();
48 void osfdate(), osfop(), osfsize(), osfunix();
49 void osfparse(), osfsupply(), osftr();
50 void strgetline(), strin(), strsglen(), strtolower(), truelen();
51
52
53
54
55 /* oss.o: */
56 osscatch();
57 osssend();
58 osswait();
59
60 /* osh.o: */
61 oshcmd();
62 oshcpu();
63 oshdate();
64 oshmsg();
65 oshtime();
66 oshtl();
67 oshtm();
68 oshchdir();
69 oshmidvers();
70
71 /* osa.o: */
72 osaclose();
73 osaopen();
74 osaread();
75 osaseek();
76 osasize();
77 osaunix();
78 osawait();
79 osawrite();
80
81 /* osd.o: */
82 osdclose();
83 osdopen();
84 osdputs();
85 osdread();
86 osdseek();
87 osdwrite();
88
89 /* osf.o: */
90 osfcontrol();
91 osfcreate();
92 osfdelete();
93 osfinfo();
94 osflgname();
95 osfmkdir();
96 osfphname();
97 osfrename();
98
99 /* osp.o: */
100 ospcreate();
101 ospexit();
102 ospwait();
103 osppid();
104
105 /* ospuwait.o: */
106 ospuwait();
107
108 /* osx.o: */
109 osxclose();
110 osxinfo();
111 osxopen();
112 osxread();
113 osxwrite();
114
115 /* osu.o: */
116 osubsize();
117 osuclose();
118 osufclose();
119 osufseek();
120 osuftell();
121 osuopen();
122 osuread();
123 osustatus();
124 osuwrite();
125
126 /* osc.o: */
127 oscbloc();
128 oscbscan();
129 oscbskip();
130 oscbspan();
131 osccomp();
132 oscfill();
133 oscindex();
134 oscloc();
135 oscomp();
136 oscopuc();
137 oscopy();
138 oscscan();
139 oscskip();
140 oscspan();
141 osctr();
142
143 /* ost.o: */
144 ostclose();
145 ostin();
146 ostinfo();
147 ostint();
148 ostopen();
149 ostraw();
150 ostread();
151 ostset();
152 ostwinch();
153 ostwrite();
154
155 /* osmessage.o: */
156 osmsg();
157
158 /* osmemory.o: */
159 osmmexp();
160 osmmfree();
161 osmmget();
162
163 /* oshenv.o: */
164 oshenv();
165 oshpid();
166
167 /* osfdate.o: */
168 osfdate();
169 osfop();
170 osfsize();
171 osfunix();
172
173 /* osfparse.o: */
174 osfparse();
175 osfsupply();
176 osftr();
177
178 /* osstr.o: */
179 strgetline();
180 strin();
181 strsglen();
182 strtolower();
183 truelen();
184
185 return 0;
186 }