This page describes the conventions that should be employed when writing man pages for the Linux manpages project which documents the userspace API provided by the Linux kernel and the GNU C library The project thus provides most of the pages in Section 2 as well as many of the pages that appear in Sections 3 4 5 and 7 of the man pages on a Linux system
man write 2 write to a file descriptor Man Pages
WRITE1 User Commands WRITE1 NAME top write send a message to another user SYNOPSIS top write user ttyname DESCRIPTION top write allows you to communicate with other users by copying lines from your terminal to theirsWhen you run the write command the user you are writing to gets a message of the form Message from yournameyourhost on yourtty at hhmm
Description The GNU implementation of the man macro package is part of the groff document formatting system It is used to produce manual pages man pages like the one you are reading This document presents the macros thematically for those needing only a quick reference the following table lists them alphabetically with cross references to appropriate subsections below
man 7 Arch manual pages
write2 Linux manual page staroceansorg
WRITE2 Linux Programmers Manual WRITE2 NAME top write write to a file descriptor SYNOPSIS top include unistdh ssizet writeint fd const void buf sizet count DESCRIPTION top write writes up to count bytes from the buffer starting at buf to the file referred to by the file descriptor fd
Data written to the write end of the pipe is buffered by the kernel until it is read from the read end of the pipe For further details see pipe7 If send a mail to manpagesman7org Linux manpages 691 20240615 pipe2 Pages that refer to this page
Man7 Write
WRITE2 Linux Programmers Manual WRITE2 NAME top write write to a file descriptor SYNOPSIS top include unistdh ssizet writeint fd const void buf sizet count DESCRIPTION top write writes up to count bytes from the buffer starting at buf to the file referred to by the file descriptor fd
manpages 7 conventions for writing man pages Linux man page
The write function shall attempt to write nbyte bytes from the buffer pointed to by buf to the file associated with the open file descriptor fildes Before any action described below is taken and if nbyte is zero and the file is a regular file the write function
We begin by introducing the concept of a file descriptor and then look at the system calls that constitute the socalled universal IO model These are the system calls that open and close a file and read and write data In addition we look at the system call that is used to seek to a random location in a file We focus on IO on disk files
write3p Linux manual page man7org
write2 Linux manual page man7org
Man7 Write
pipe2 Linux manual page man7org
DESCRIPTION write writes up to count bytes from the buffer pointed buf to the file referred to by the file descriptor fd The number of bytes written may be less than count if for example there is insufficient space on the underlying physical medium or the RLIMITFSIZE resource limit is encountered see setrlimit2 or the call was interrupted by a signal handler after having written
man7org Chapter 4 File IO The Universal IO Model Michael Kerrisk
write writes up to count bytes from the buffer starting at buf to the file referred to by the file descriptor fd The number of bytes written may be less than count if for send a mail to manpagesman7org Linux manpages 691 20240502 write2 Pages that refer to this page
write2 Linux manual page man7org
write1 Linux manual page man7org