mirror of
https://github.com/SerenityOS/serenity.git
synced 2025-01-24 10:22:05 -05:00
LibC: Add mntent stub functions
These functions are required by Qt but since we don't really need them for just basic apps, let's leave the implementation for later.
This commit is contained in:
parent
3e066d380d
commit
f3490f9327
2 changed files with 24 additions and 0 deletions
|
@ -16,4 +16,25 @@ struct mntent* getmntent(FILE*)
|
|||
TODO();
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
FILE* setmntent(char const*, char const*)
|
||||
{
|
||||
dbgln("FIXME: Implement setmntent()");
|
||||
TODO();
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
int endmntent(FILE*)
|
||||
{
|
||||
dbgln("FIXME: Implement endmntent()");
|
||||
TODO();
|
||||
return 0;
|
||||
}
|
||||
|
||||
struct mntent* getmntent_r(FILE*, struct mntent*, char*, int)
|
||||
{
|
||||
dbgln("FIXME: Implement getmntent_r()");
|
||||
TODO();
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -24,5 +24,8 @@ struct mntent {
|
|||
};
|
||||
|
||||
struct mntent* getmntent(FILE* stream);
|
||||
FILE* setmntent(char const* filename, char const* type);
|
||||
int endmntent(FILE* streamp);
|
||||
struct mntent* getmntent_r(FILE* streamp, struct mntent* mntbuf, char* buf, int buflen);
|
||||
|
||||
__END_DECLS
|
||||
|
|
Loading…
Add table
Reference in a new issue