diff packages/io/fileio/current/include/fileio.h @ 128:0c2b7be0d798 ecos-sw-2000-10-12

Merge from eCos master repository on 2000-10-12-08:46:24-BST
author jlarmour
date Thu, 12 Oct 2000 20:31:43 +0000
parents 0ec04793409a
children eb9fd8c04db3
line wrap: on
line diff
--- a/packages/io/fileio/current/include/fileio.h
+++ b/packages/io/fileio/current/include/fileio.h
@@ -145,6 +145,7 @@ struct cyg_fstab_entry
 
 #define FS_INFO_CONF            1       /* pathconf() */
 #define FS_INFO_ACCESS          2       /* access() */
+#define FS_INFO_GETCWD          3       /* getcwd() */
 
 //-----------------------------------------------------------------------------
 // Types for link()
@@ -153,6 +154,15 @@ struct cyg_fstab_entry
 #define CYG_FSLINK_SOFT         2       /* form a soft link */
 
 //-----------------------------------------------------------------------------
+// getinfo() and setinfo() buffers structures.
+
+struct cyg_getcwd_info
+{
+    char        *buf;           /* buffer for cwd string */
+    size_t      size;           /* size of buffer */
+};
+
+//-----------------------------------------------------------------------------
 // Macro to define an initialized fstab entry
 
 #define FSTAB_ENTRY( _l, _name, _data, _syncmode, _mount, _umount,      \