p2
0.0
|
a file is wrapper around a file descriptor, non-volatile but mutable. More...
#include <potion.h>
Public Member Functions | |
PN | potion_file_new (Potion *P, PN cl, PN self, PN path, PN modestr) |
PN | potion_file_with_fd (Potion *P, PN cl, PN self, PN fd) |
PN | potion_file_close (Potion *P, PN cl, pn_file self) |
PN | potion_file_read (Potion *P, PN cl, pn_file self, PN n) |
PN | potion_file_write (Potion *P, PN cl, pn_file self, PN obj) |
PN | potion_file_print (Potion *P, PN cl, pn_file self, PN obj) |
PN | potion_file_string (Potion *P, PN cl, pn_file self) |
Data Fields | |
PN_OBJECT_HEADER | |
PNType vt; PNUniq uniq. More... | |
int | fd |
PN | path |
mode_t | mode |
a file is wrapper around a file descriptor, non-volatile but mutable.