*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->NetBSD man pages -> lfs_segclean (2)              
Title
Content
Arch
Section
 

LFS_SEGCLEAN(2)

Contents


NAME    [Toc]    [Back]

     lfs_segclean - mark a segment clean

LIBRARY    [Toc]    [Back]

     Standard C Library (libc, -lc)

SYNOPSIS    [Toc]    [Back]

     #include <sys/types.h>

     int
     lfs_segclean(fsid_t *fsidp, u_long segment);

DESCRIPTION    [Toc]    [Back]

     lfs_segclean() marks segment number segment in LFS filesystem *fsidp
     "clean" or available for writing.

RETURN VALUES    [Toc]    [Back]

     lfs_segclean() returns 0 on success, or -1 on error.

ERRORS    [Toc]    [Back]

     An error return from lfs_segclean() indicates:

     [EFAULT]           fsidp points outside the process's allocated address
                        space.

     [EINVAL]           *fsidp does not specify a valid filesystem.

     [EBUSY]            segment is marked SU_ACTIVE, meaning that it does not
                        yet belong to a valid checkpoint.

SEE ALSO    [Toc]    [Back]

      
      
     lfs_bmapv(2), lfs_markv(2), lfs_segwait(2), lfs_cleanerd(8)

HISTORY    [Toc]    [Back]

     The lfs_segclean() function call appeared in 4.4BSD.

BSD                              May 23, 2000                              BSD
[ Back ]
 Similar pages
Name OS Title
XmStringInitContext Tru64 A compound string function that allows applications to read out the content segment by segment
XmStringInitContext IRIX A compound string function that allows applications to read out the content segment by segment
gluNextContour Tru64 mark the beginning of another contour
glunextcontour IRIX mark the beginning of another contour
diffmk HP-UX mark changes between two different versions of a file
gss_release_cred HP-UX mark a credential for deletion
set_menu_mark OpenBSD get and set the menu mark string
menu_mark OpenBSD get and set the menu mark string
set_menu_mark FreeBSD get and set the menu mark string
menu_mark FreeBSD get and set the menu mark string
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service