]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
docs: more markup
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Tue, 9 Mar 2021 17:41:21 +0000 (18:41 +0100)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 11 Mar 2021 13:43:16 +0000 (14:43 +0100)
docs/CODING_STYLE.md

index c15dc1abf7c4c49b1f00f1f522e62bb5bdc1a833..e4b0d91833c28198c554a0ce20fa5f7e73701ef3 100644 (file)
@@ -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