Changeset 99272a3 in mainline for uspace/lib/libc/include
- Timestamp:
- 2009-06-04T10:12:23Z (16 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- c8b9f88
- Parents:
- 301ff30
- Location:
- uspace/lib/libc/include
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/libc/include/loader/loader.h
r301ff30 r99272a3 51 51 extern int loader_set_pathname(loader_t *, const char *); 52 52 extern int loader_set_args(loader_t *, char *const[]); 53 extern int loader_set_files(loader_t *, inode_t *const[]);53 extern int loader_set_files(loader_t *, fdi_node_t *const[]); 54 54 extern int loader_load_program(loader_t *); 55 55 extern int loader_run(loader_t *); -
uspace/lib/libc/include/loader/pcb.h
r301ff30 r99272a3 61 61 int filc; 62 62 /** Preset files. */ 63 inode_t **filv;63 fdi_node_t **filv; 64 64 65 65 /* -
uspace/lib/libc/include/vfs/vfs.h
r301ff30 r99272a3 41 41 #include <stdio.h> 42 42 43 /** 44 * This type is a libc version of the VFS triplet. 45 * It uniquelly identifies a file system node within a file system instance. 46 */ 43 47 typedef struct { 44 48 fs_handle_t fs_handle; 45 49 dev_handle_t dev_handle; 46 50 fs_index_t index; 47 } inode_t;51 } fdi_node_t; 48 52 49 53 extern char *absolutize(const char *, size_t *); 50 54 51 55 extern int mount(const char *, const char *, const char *, const char *, 52 unsigned int flags);56 unsigned int); 53 57 54 extern int open_node( inode_t *node, int oflag);58 extern int open_node(fdi_node_t *, int); 55 59 extern int fd_phone(int); 56 extern void fd_node(int, inode_t *);60 extern void fd_node(int, fdi_node_t *); 57 61 58 extern FILE *fopen_node( inode_t *node, const char *);62 extern FILE *fopen_node(fdi_node_t *, const char *); 59 63 extern int fphone(FILE *); 60 extern void fnode(FILE * stream, inode_t *node);64 extern void fnode(FILE *, fdi_node_t *); 61 65 62 66 #endif
Note:
See TracChangeset
for help on using the changeset viewer.