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:
Jérôme Duval 2007-08-03 18:13:55 +00:00
parent ce10f265de
commit 84324de507
2 changed files with 10 additions and 0 deletions

View File

@ -111,6 +111,7 @@ extern int getdtablesize(void);
extern long sysconf(int name);
extern long fpathconf(int fd, int name);
extern long pathconf(const char *path, int name);
extern size_t confstr(int name, char *buf, size_t len);
/* process functions */
extern pid_t fork(void);

View File

@ -100,3 +100,12 @@ pathconf(const char *path, int 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;
}