5 months ago | Paul Boddie | raw annotate files changeset graph | Merged changes from the default branch. | libc_newlib |
1 #include <systypes/base.h> /* offset_t */ 2 3 /* An interface providing operations common to both unmapped and mapped files. 4 Other interfaces are used to specialise different kinds of files. */ 5 6 interface File 7 { 8 /* Resize the file. */ 9 10 [opcode(21)] void resize(inout offset_t size); 11 12 /* Obtain a new reference to the given file. */ 13 14 [opcode(27)] void reopen(in flags_t flags, out offset_t size, out cap file, 15 out object_flags_t object_flags); 16 };