
- programs could be load as module by the bootloader Grub git-svn-id: http://svn.lfbs.rwth-aachen.de/svn/scc/trunk/MetalSVM@95 315a16e6-25f9-4109-90ae-ca3045a26c18
22 lines
336 B
C
22 lines
336 B
C
/*
|
|
* Stub version of stat.
|
|
*/
|
|
|
|
#include "config.h"
|
|
#include <_ansi.h>
|
|
#include <_syslist.h>
|
|
#include <sys/types.h>
|
|
#include <sys/stat.h>
|
|
#include <errno.h>
|
|
#undef errno
|
|
extern int errno;
|
|
#include "warning.h"
|
|
|
|
int
|
|
_DEFUN (stat, (file, st),
|
|
const char *file _AND
|
|
struct stat *st)
|
|
{
|
|
st->st_mode = S_IFCHR;
|
|
return 0;
|
|
}
|