RE: File Access with VFS
RE: File Access with VFS
- Subject: RE: File Access with VFS
- From: "Vishal Shetye" <email@hidden>
- Date: Mon, 6 Aug 2007 23:49:49 +0530
- Subject: RE: File Access with VFS
- From: Quinn <email@hidden>
- Date: Thu, 10 Apr 2003 13:06:30 +0100
| <http://www.opensource.apple.com/projects/documentation/howto/html/kext_tutorials/kext_dependencies.html>
| Once you get past the above issues, the BSD functions to do file I/O from
in-kernel code are pretty standard. Relevant functions include:
I think this is dead
| o NDINIT -- To initialise a struct nameidata from a path.
| o vn_open -- To open the file; this gives you back a vnode.
| o various vnode manipulation routines, for example, vn_lock, VOP_UNLOCK
| o vn_close
| o VOP_READ/VOP_WRITE -- To read and write data.
|
| S+E
| --
| Quinn "The Eskimo!" <http://www.apple.com/developer/>
| Apple Developer Technical Support * Networking, Communications, Hardware
these functions are from xnu/bsd/xxx
directories, like NDINIT is in bsd/sys/namei.h while corresponding namei.h in
/System/Library/Framework/Kernel.Framework/… is not so helpful.
How do I declare dependency for
these in Info.plist?
- vishal shetye
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden