LFS_SEGWAIT man page on NetBSD

Man page or keyword search:  
man Server   9087 pages
apropos Keyword Search (all sections)
Output format
NetBSD logo
[printable version]

LFS_SEGWAIT(2)		    BSD System Calls Manual		LFS_SEGWAIT(2)

NAME
     lfs_segwait — wait until a segment is written

LIBRARY
     Standard C Library (libc, -lc)

SYNOPSIS
     #include <sys/types.h>

     int
     lfs_segwait(fsid_t *fsidp, struct timeval *tv);

DESCRIPTION
     lfs_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 millisec‐
     onds regardless of whether a new segment has been designated for writing
     or not.

RETURN VALUES
     lfs_segwait() returns 0 if a new segment was acquired; 1 if it timed out;
     or -1 on error.

ERRORS
     An 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 ALSO
     lfs_bmapv(2), lfs_markv(2), lfs_segclean(2), lfs_cleanerd(8)

HISTORY
     The lfs_segwait() function call appeared in 4.4BSD.

BSD				 May 23, 2000				   BSD
[top]
                             _         _         _ 
                            | |       | |       | |     
                            | |       | |       | |     
                         __ | | __ __ | | __ __ | | __  
                         \ \| |/ / \ \| |/ / \ \| |/ /  
                          \ \ / /   \ \ / /   \ \ / /   
                           \   /     \   /     \   /    
                            \_/       \_/       \_/ 
More information is available in HTML format for server NetBSD

List of man pages available for NetBSD

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net