This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Filesystem get/setinfo
- From: Savin Zlobec <savin at elatec dot si>
- To: ecos-discuss at sources dot redhat dot com
- Date: Mon, 20 Oct 2003 14:45:56 +0200
- Subject: [ECOS] Filesystem get/setinfo
I need to write some filesystem specific functions.
The get/setinfo calls seem to be the right way to do this,
but I can't find any functions to access them from my application.
The following functions would do the trick for me:
int cyg_fs_getinfo(const char *path, int key, void *buf, int len);
int cyg_fs_setinfo(const char *path, int key, void *buf, int len);
int cyg_fs_fgetinfo(int fd, int key, void *buf, int len);
int cyg_fs_fsetinfo(int fd, int key, void *buf. int len);
Or is there any way to do this already without accessing internal
structures?
savin
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss