Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: File Access with VFS



  • 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:
http://lists.apple.com/mailman/options/darwin-kernel/email@hidden

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.