Question:
In C/C++/C#. (I need it for C#, but C and C++ is also fine).
How can I do a mount -a on Linux. I mean programmatically, without st
Check out the man page by typing man 2 mount. It talks about a system call that can avoid the actual use of system():
#include int mount(const char *source, const char *target, const char *filesystemtype, unsigned long mountflags, const void *data);