SEARCH
NEW RPMS
DIRECTORIES
ABOUT
FAQ
VARIOUS
BLOG

BotDetect - Real-Time Bot Detection API
 
 

MAN page from Mandrake Other man-pages-gz-1.21-2.noarch.rpm

BDFLUSH

Section: Linux Programmer's Manual (2)
Updated: 15 April 1995
Index 

NAME

bdflush - start, flush, or tune buffer-dirty-flush daemon 

SYNOPSIS

int bdflush(int func, long *address);int bdflush(int func, long data);
 

DESCRIPTION

bdflushstarts, flushes, or tunes the buffer-dirty-flush daemon.Only the super-user may callbdflush.

Iffuncis negative or 0, and no daemon has been started, thenbdflushenters the daemon code and never returns.

Iffuncis 1,some dirty buffers are written to disk.

Iffuncis 2 or more and is even (low bit is 0), thenaddressis the address of a long word,and the tuning parameter numbered(func-2)/2is returned to the caller in that address.

Iffuncis 3 or more and is odd (low bit is 1), thendatais a long word,and the kernel sets tuning parameter numbered(func-3)/2to that value.

The set of parameters, their values, and their legal rangesare defined in the kernel source filefs/buffer.c. 

RETURN VALUE

Iffuncis negative or 0 and the daemon successfully starts,bdflushnever returns.Otherwise, the return value is 0 on success and -1 on failure, witherrnoset to indicate the error. 

ERRORS

EPERM
Caller is not super-user.
EFAULT
addresspoints outside your accessible address space.
EBUSY
An attempt was made to enter the daemon code afteranother process has already entered.
EINVAL
An attempt was made to read or write an invalid parameter number,or to write an invalid value to a parameter.
 

CONFORMING TO

bdflush is Linux specific and should not be used in programsintended to be portable. 

SEE ALSO

fsync(2),sync(2),update(8),sync(8).


 

Index

NAME
SYNOPSIS
DESCRIPTION
RETURN VALUE
ERRORS
CONFORMING TO
SEE ALSO

This document was created byman2html,using the manual pages.
 
ICM Bot detect detector