summaryrefslogtreecommitdiff
path: root/docs/CODING_STYLE.md
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2021-03-09 18:41:21 +0100
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2021-03-11 14:43:16 +0100
commitbcef0f33cc7538a21ba79fd94b0b321874a355b3 (patch)
tree181457b42a9e8b917c239c87bb3bfee429bd5e1d /docs/CODING_STYLE.md
parent3a1bc3fcc02e61683e815091d129b03ad10771ef (diff)
downloadsystemd-bcef0f33cc7538a21ba79fd94b0b321874a355b3.tar.gz
docs: more markup
Diffstat (limited to 'docs/CODING_STYLE.md')
-rw-r--r--docs/CODING_STYLE.md10
1 files changed, 5 insertions, 5 deletions
diff --git a/docs/CODING_STYLE.md b/docs/CODING_STYLE.md
index c15dc1abf7..e4b0d91833 100644
--- a/docs/CODING_STYLE.md
+++ b/docs/CODING_STYLE.md
@@ -587,11 +587,11 @@ layout: default
time you need that please immediately undefine `basename()`, and add a
comment about it, so that no code ever ends up using the POSIX version!
-- Never use FILENAME_MAX. Use PATH_MAX instead (for checking maximum size of
- paths) and NAME_MAX (for checking maximum size of filenames). FILENAME_MAX is
- not POSIX, and is a confusingly named alias for PATH_MAX on Linux. Note the
- NAME_MAX does not include space for a trailing NUL, but PATH_MAX does. UNIX
- FTW!
+- Never use `FILENAME_MAX`. Use `PATH_MAX` instead (for checking maximum size
+ of paths) and `NAME_MAX` (for checking maximum size of filenames).
+ `FILENAME_MAX` is not POSIX, and is a confusingly named alias for `PATH_MAX`
+ on Linux. Note the `NAME_MAX` does not include space for a trailing `NUL`,
+ but `PATH_MAX` does. UNIX FTW!
## Committing to git