diff options
author | Alejandro Colomar <alx@kernel.org> | 2024-04-26 15:06:49 +0200 |
---|---|---|
committer | Alejandro Colomar <alx@kernel.org> | 2024-05-02 01:24:19 +0200 |
commit | dcde2f70372b49ec43efc5db864c9ff585d0a2dd (patch) | |
tree | 78b9b7425130e4a5858e4c01a524d802423879ed /man2type | |
parent | 12aca537ce78a41bbcdaf485209691e10f8002d7 (diff) |
man/, share/mk/: Move man*/ to man/
This is a scripted change:
$ mkdir man/;
$ mv man* man/;
$ ln -st . man/man*;
$ find share/mk/ -type f \
| xargs grep -l '^MANDIR *:=' \
| xargs sed -i '/^MANDIR *:=/s,$,/man,';
$ find share/mk/dist/ -type f \
| xargs grep -l man \
| xargs sed -i 's,man%,man/%,g';
Link: <https://lore.kernel.org/linux-man/YxcV4h+Xn7cd6+q2@pevik/T/>
Cc: Petr Vorel <pvorel@suse.cz>
Cc: Jakub Wilk <jwilk@jwilk.net>
Cc: Stefan Puiu <stefan.puiu@gmail.com>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
Diffstat (limited to 'man2type')
l--------- | man2type | 1 | ||||
-rw-r--r-- | man2type/open_how.2type | 51 |
2 files changed, 1 insertions, 51 deletions
diff --git a/man2type b/man2type new file mode 120000 index 000000000..171d0fdf1 --- /dev/null +++ b/man2type @@ -0,0 +1 @@ +man/man2type
\ No newline at end of file diff --git a/man2type/open_how.2type b/man2type/open_how.2type deleted file mode 100644 index 54da1f9ff..000000000 --- a/man2type/open_how.2type +++ /dev/null @@ -1,51 +0,0 @@ -.\" Copyright (c) 2022 by Alejandro Colomar <alx@kernel.org> -.\" -.\" SPDX-License-Identifier: Linux-man-pages-copyleft -.\" -.\" -.TH open_how 2type (date) "Linux man-pages (unreleased)" -.SH NAME -open_how \- how to open a pathname -.SH LIBRARY -Linux kernel headers -.SH SYNOPSIS -.EX -.B #include <linux/openat2.h> -.P -.B struct open_how { -.BR " u64 flags;" " /* " O_ "* flags */" -.BR " u64 mode;" " /* Mode for " O_ { CREAT , TMPFILE "} */" -.BR " u64 resolve;" " /* " RESOLVE_ "* flags */" - /* ... */ -.B }; -.EE -.SH DESCRIPTION -Specifies how a pathname should be opened. -.P -The fields are as follows: -.TP -.I flags -This field specifies the file creation and file status flags -to use when opening the file. -.TP -.I mode -This field specifies the mode for the new file. -.TP -.I resolve -This is a bit mask of flags that modify the way in which -.I all -components of a pathname will be resolved -(see -.BR path_resolution (7) -for background information). -.SH VERSIONS -Extra fields may be appended to the structure, -with a zero value in a new field resulting in -the kernel behaving as though that extension field was not present. -Therefore, a user -.I must -zero-fill this structure on initialization. -.SH STANDARDS -Linux. -.SH SEE ALSO -.BR openat2 (2) |