You've already forked Magisk
mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-09-06 06:36:58 +00:00
Add missing functions in bionic
This commit is contained in:
@@ -12,6 +12,8 @@
|
||||
#include <poll.h>
|
||||
#include <mntent.h>
|
||||
|
||||
#include "missing.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
@@ -87,12 +89,6 @@ void init_argv0(int argc, char **argv);
|
||||
void set_nice_name(const char *name);
|
||||
int parse_int(const char *s);
|
||||
|
||||
#define getline __getline
|
||||
#define getdelim __getdelim
|
||||
|
||||
ssize_t __getline(char **lineptr, size_t *n, FILE *stream);
|
||||
ssize_t __getdelim(char **lineptr, size_t *n, int delim, FILE *stream);
|
||||
|
||||
// file.cpp
|
||||
|
||||
#define do_align(p, a) (((p) + (a) - 1) / (a) * (a))
|
||||
|
||||
Reference in New Issue
Block a user