Query: lfs_segwait
OS: netbsd
Section: 2
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
LFS_SEGWAIT(2) BSD System Calls Manual LFS_SEGWAIT(2)NAMElfs_segwait -- wait until a segment is writtenLIBRARYStandard C Library (libc, -lc)SYNOPSIS#include <sys/types.h> int lfs_segwait(fsid_t *fsidp, struct timeval *tv);DESCRIPTIONlfs_segwait() blocks until a new segment is acquired for writing by the filesystem specified by *fsidp or if *fsidp is -1, until a segment is acquired for writing by any LFS filesystem. If timeout is non-zero, lfs_segwait() will return after timeout milliseconds regardless of whether a new segment has been designated for writing or not.RETURN VALUESlfs_segwait() returns 0 if a new segment was acquired; 1 if it timed out; or -1 on error.ERRORSAn error return from lfs_segwait() indicates: [EFAULT] fsidp points outside the process's allocated address space. [EINTR] A signal was delivered before the time limit expired and before a new segment was designated for writing. [EINVAL] The specified time limit is negative.SEE ALSOlfs_bmapv(2), lfs_markv(2), lfs_segclean(2), lfs_cleanerd(8)HISTORYThe lfs_segwait() function call appeared in 4.4BSD.BSDMay 23, 2000 BSD
Related Man Pages |
---|
shmop(2) - ultrix |
plock(2) - osf1 |
lfs_markv(2) - netbsd |
shmdt(2) - netbsd |
shmat(2) - freebsd |
Similar Topics in the Unix Linux Community |
---|
Network Access on Different Segment |
LFS Get 1.0 (Default branch) |
Memory addressing question |
why segment fault, |
Reformat a string and pad space at the end |