Re: find_directory

Ingo Weinhold <bonefish-CFLBMwTPW48UNGrzBIF7/[email protected]>
Newsgroups gmane.os.openbeos.kernel.devel
Message-ID <[email protected]>
On 2004-11-22 at 10:41:28 [+0100], François Revol wrote:
> > >Hi,
> > >would it be possible to have find_directory in libroot.so >instead
> > > of
> > >libbe.so ?
> > >Some very basic bin tools need configuration settings for >example.
> > > Thanks.
> > 
> > Actually, there are 2 or three versions of that call. One (the C
> > version) lives in libroot.so, the other(s) (c++) in libbe.so.
> > 
> > Check also this: http://www.freelists.org/archives/openbeos/02-2004/
> > msg00068.html
> > 
> done, but it works on r5 for now, need to know what I should use
> in haiku to build up path from dev/inode of the mountpoint...

syscalls.h:

extern status_t		_kern_entry_ref_to_path(dev_t device, ino_t inode,
						const char *leaf, char *userPath, size_t pathLength);

`leaf' may be NULL.

CU, Ingo


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.