added an empty implementation of confstr()
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21810 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -111,6 +111,7 @@ extern int getdtablesize(void);
|
|||||||
extern long sysconf(int name);
|
extern long sysconf(int name);
|
||||||
extern long fpathconf(int fd, int name);
|
extern long fpathconf(int fd, int name);
|
||||||
extern long pathconf(const char *path, int name);
|
extern long pathconf(const char *path, int name);
|
||||||
|
extern size_t confstr(int name, char *buf, size_t len);
|
||||||
|
|
||||||
/* process functions */
|
/* process functions */
|
||||||
extern pid_t fork(void);
|
extern pid_t fork(void);
|
||||||
|
|||||||
@@ -100,3 +100,12 @@ pathconf(const char *path, int name)
|
|||||||
return fpathconf(-1, name);
|
return fpathconf(-1, name);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
size_t
|
||||||
|
confstr(int name, char *buf, size_t len)
|
||||||
|
{
|
||||||
|
// ToDo: find out what BeOS supports here
|
||||||
|
errno = EINVAL;
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user