Changeset 44fe800 in mainline for uspace/lib/c
- Timestamp:
- 2015-10-17T21:50:38Z (10 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 68b5dd11
- Parents:
- ea0ff6b
- Location:
- uspace/lib/c
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/generic/vol.c
rea0ff6b r44fe800 250 250 } 251 251 252 /** Create file system. */ 253 int vol_part_mkfs(vol_t *vol, service_id_t sid, vol_fstype_t fstype) 254 { 255 async_exch_t *exch; 256 int retval; 257 258 exch = async_exchange_begin(vol->sess); 259 retval = async_req_2_0(exch, VOL_PART_MKFS, sid, fstype); 260 async_exchange_end(exch); 261 262 if (retval != EOK) 263 return retval; 264 265 return EOK; 266 } 267 252 268 /** @} 253 269 */ -
uspace/lib/c/include/ipc/vol.h
rea0ff6b r44fe800 40 40 VOL_PART_ADD, 41 41 VOL_PART_INFO, 42 VOL_PART_EMPTY 42 VOL_PART_EMPTY, 43 VOL_PART_MKFS 43 44 } vol_request_t; 44 45 -
uspace/lib/c/include/types/vol.h
rea0ff6b r44fe800 35 35 #ifndef LIBC_TYPES_VOL_H_ 36 36 #define LIBC_TYPES_VOL_H_ 37 38 #include <async.h> 37 39 38 40 typedef enum { -
uspace/lib/c/include/vol.h
rea0ff6b r44fe800 48 48 extern int vol_part_info(vol_t *, service_id_t, vol_part_info_t *); 49 49 extern int vol_part_empty(vol_t *, service_id_t); 50 extern int vol_part_mkfs(vol_t *, service_id_t, vol_fstype_t); 50 51 51 52 #endif
Note:
See TracChangeset
for help on using the changeset viewer.