Added a query length parameter to _kern_open_query() - it's much easier to
do these things in userland. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10397 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
fafd79e5c1
commit
dfb71e0444
@ -155,7 +155,7 @@ extern status_t _kern_read_index_stat(dev_t device, const char *name, struct st
|
||||
extern status_t _kern_remove_index(dev_t device, const char *name);
|
||||
extern status_t _kern_getcwd(char *buffer, size_t size);
|
||||
extern status_t _kern_setcwd(int fd, const char *path);
|
||||
extern int _kern_open_query(dev_t device, const char *query,
|
||||
extern int _kern_open_query(dev_t device, const char *query, size_t queryLength,
|
||||
uint32 flags, port_id port, int32 token);
|
||||
|
||||
// file descriptor functions
|
||||
|
@ -136,7 +136,7 @@ status_t _user_read_index_stat(dev_t device, const char *name, struct stat *stat
|
||||
status_t _user_remove_index(dev_t device, const char *name);
|
||||
status_t _user_getcwd(char *buffer, size_t size);
|
||||
status_t _user_setcwd(int fd, const char *path);
|
||||
int _user_open_query(dev_t device, const char *query, uint32 flags,
|
||||
int _user_open_query(dev_t device, const char *query, size_t queryLength, uint32 flags,
|
||||
port_id port, int32 token);
|
||||
|
||||
/* fd user prototypes (implementation located in fd.c) */
|
||||
|
Loading…
Reference in New Issue
Block a user