Debian Codegraph @

upstream/fedora-44/man2/bdflush.2

raw
1 .\" Copyright (c) 1995 Michael Chastain ([email protected]), 15 April 1995.
2 .\"
3 .\" SPDX-License-Identifier: GPL-2.0-or-later
4 .\"
5 .\" Modified 1997-01-31 by Eric S. Raymond <[email protected]>
6 .\" Modified 2004-06-17 by Michael Kerrisk <[email protected]>
7 .\"
8 .TH bdflush 2 2024-08-21 "Linux man-pages 6.13"
9 .SH NAME
10 bdflush \- start, flush, or tune buffer-dirty-flush daemon
11 .SH SYNOPSIS
12 .nf
13 .B #include <sys/kdaemon.h>
14 .P
15 .BI "int bdflush(int " func ", long " data );
16 .fi
17 .SH DESCRIPTION
18 This system call used to turn the calling process into the
19 .I bdflush
20 daemon,
21 or tune it,
22 or flush the "old buffers".
23 It then progressively lost all of that functionality.
24 .P
25 See
26 .I fs/buffer.c
27 in the kernel version you're interested in to see what it actually does there.
28 .SH ERRORS
29 .B ENOSYS
30 (this system call is unimplemented)
31 .SH STANDARDS
32 Linux.
33 .SH HISTORY
34 This system call was introduced in Linux 1.1.3,
35 became effectively obsolete in Linux 1.3.50,
36 mostly useless in Linux 2.3.23,
37 entirely useless in Linux 2.5.12,
38 officially deprecated in Linux 2.5.52,
39 and removed outright in Linux 5.15.
40 .P
41 Sometimes, if
42 .I func
43 was even,
44 .I data
45 actually represented a pointer.
46 .P
47 The header and prototype were removed in glibc 2.23.
48 .SH SEE ALSO
49 .BR sync (1),
50 .BR fsync (2),
51 .BR sync (2)