sd: remove 'ssd' driver support
[unleashed/tickless.git] / usr / src / lib / libast / common / comp / gross.c
blob551eb08f21e330b642720ce076e26992394c2d81
1 /***********************************************************************
2 * *
3 * This software is part of the ast package *
4 * Copyright (c) 1985-2010 AT&T Intellectual Property *
5 * and is licensed under the *
6 * Common Public License, Version 1.0 *
7 * by AT&T Intellectual Property *
8 * *
9 * A copy of the License is available at *
10 * http://www.opensource.org/licenses/cpl1.0.txt *
11 * (with md5 checksum 059e8cd6165cb4c31e351f2b69388fd9) *
12 * *
13 * Information and Software Systems Research *
14 * AT&T Research *
15 * Florham Park NJ *
16 * *
17 * Glenn Fowler <gsf@research.att.com> *
18 * David Korn <dgk@research.att.com> *
19 * Phong Vo <kpv@research.att.com> *
20 * *
21 ***********************************************************************/
23 * porting hacks here
26 #include <ast.h>
27 #include <ls.h>
29 #include "FEATURE/hack"
31 void _STUB_gross(){}
33 #if _lcl_xstat
35 extern int fstat(int fd, struct stat* st)
37 #if _lib___fxstat
38 return __fxstat(_STAT_VER, fd, st);
39 #else
40 return _fxstat(_STAT_VER, fd, st);
41 #endif
44 extern int lstat(const char* path, struct stat* st)
46 #if _lib___lxstat
47 return __lxstat(_STAT_VER, path, st);
48 #else
49 return _lxstat(_STAT_VER, path, st);
50 #endif
53 extern int stat(const char* path, struct stat* st)
55 #if _lib___xstat
56 return __xstat(_STAT_VER, path, st);
57 #else
58 return _xstat(_STAT_VER, path, st);
59 #endif
62 #endif
64 #if _lcl_xstat64
66 extern int fstat64(int fd, struct stat64* st)
68 #if _lib___fxstat64
69 return __fxstat64(_STAT_VER, fd, st);
70 #else
71 return _fxstat64(_STAT_VER, fd, st);
72 #endif
75 extern int lstat64(const char* path, struct stat64* st)
77 #if _lib___lxstat64
78 return __lxstat64(_STAT_VER, path, st);
79 #else
80 return _lxstat64(_STAT_VER, path, st);
81 #endif
84 extern int stat64(const char* path, struct stat64* st)
86 #if _lib___xstat64
87 return __xstat64(_STAT_VER, path, st);
88 #else
89 return _xstat64(_STAT_VER, path, st);
90 #endif
93 #endif
95 #if __sgi && _hdr_locale_attr
97 #include "gross_sgi.h"
99 #endif