Changeset 3437
- Timestamp:
- 04/17/08 00:02:44 (4 months ago)
- Files:
-
- trunk/tango/stdc/stdio.d (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/tango/stdc/stdio.d
r3193 r3437 231 231 extern void function() _fcloseallp; 232 232 233 version (GNU) { 233 version (GNU) 234 { 234 235 extern FILE[_NFILE]* _imp___iob; 235 236 … … 239 240 const FILE* stdaux; 240 241 const FILE* stdprn; 241 242 static this() { 242 243 static this() 244 { 243 245 stdin = &(*_imp___iob)[0]; 244 246 stdout = &(*_imp___iob)[1]; … … 247 249 stdprn = &(*_imp___iob)[4]; 248 250 } 249 } else { 251 } 252 else 253 { 250 254 extern FILE[_NFILE] _iob; 251 255 … … 272 276 else version( darwin ) 273 277 { 274 extern FILE[3] __sF; 275 const FILE* stdin = &__sF[0]; 276 const FILE* stdout = &__sF[1]; 277 const FILE* stderr = &__sF[2]; 278 extern FILE* __stdinp; 279 extern FILE* __stdoutp; 280 extern FILE* __stderrp; 281 282 const FILE* stdin = __stdinp; 283 const FILE* stdout = __stdoutp; 284 const FILE* stderr = __stdoutp; 278 285 } 279 286 else version( freebsd ) 280 287 { 281 288 extern FILE[3] __sF; 289 282 290 const FILE* stdin = &__sF[0]; 283 291 const FILE* stdout = &__sF[1];












