28.08.2015 Views

The Design and Implementation of the Anykernel and Rump Kernels

1F3KDce

1F3KDce

SHOW MORE
SHOW LESS
  • No tags were found...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

A–42<br />

UKFS(3) NetBSD Library Functions Manual UKFS(3)<br />

ciated with ukfs. <strong>The</strong> return value signals <strong>the</strong> return value <strong>of</strong> <strong>the</strong><br />

unmount operation. If non-zero, ukfs will continue to remain valid. <strong>The</strong><br />

possible values for flags are:<br />

UKFS_RELFLAG_NOUNMOUNT<br />

Do not unmount file system, just release<br />

ukfs h<strong>and</strong>le. Release always succeeds.<br />

UKFS_RELFLAG_FORCE Forcefully unmount <strong>the</strong> file system. This<br />

means that any busy nodes (due to e.g.<br />

ukfs_chdir()) will be ignored. Release<br />

always succeeds.<br />

OPERATION<br />

int<br />

ukfs_chdir(struct ukfs *ukfs, const char *path)<br />

int<br />

ukfs_getdents(struct ukfs *ukfs, const char *dirname, <strong>of</strong>f_t *<strong>of</strong>f, uint8_t<br />

*buf, size_t bufsize)<br />

ssize_t<br />

ukfs_read(struct ukfs *ukfs, const char *filename, <strong>of</strong>f_t <strong>of</strong>f, uint8_t<br />

*buf, size_t bufsize)<br />

ssize_t<br />

ukfs_write(struct ukfs *ukfs, const char *filename, <strong>of</strong>f_t <strong>of</strong>f, uint8_t<br />

*buf, size_t bufsize)<br />

int<br />

ukfs_create(struct ukfs *ukfs, const char *filename, mode_t mode)<br />

NetBSD 5.99.48 November 22, 2009 NetBSD 5.99.48

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!