mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 20:17:44 +00:00
Miscellaneous compat work while seeing if GNU coreutils would build.
This commit is contained in:
parent
a7f1d892a9
commit
d7a41579e5
12 changed files with 92 additions and 2 deletions
23
LibC/mntent.h
Normal file
23
LibC/mntent.h
Normal file
|
@ -0,0 +1,23 @@
|
|||
#pragma once
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
#include <stdio.h>
|
||||
|
||||
__BEGIN_DECLS
|
||||
|
||||
#define MOUNTED "/etc/mtab"
|
||||
#define MNTTAB "/etc/fstab"
|
||||
|
||||
struct mntent {
|
||||
char* mnt_fsname;
|
||||
char* mnt_dir;
|
||||
char* mnt_type;
|
||||
char* mnt_opts;
|
||||
int mnt_freq;
|
||||
int mnt_passno;
|
||||
};
|
||||
|
||||
struct mntent* getmntent(FILE* stream);
|
||||
|
||||
__END_DECLS
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue