]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - docs/CODING_STYLE.md
tty-ask-password: copy argv[] before forking child
[thirdparty/systemd.git] / docs / CODING_STYLE.md
index 81a10eb88b455e83d795be25abf79a1da2c727a2..7bad3f5d2ecd5b7a66a8a069d19348f4263535b8 100644 (file)
@@ -1,4 +1,8 @@
-# Coding style
+---
+title: Coding Style
+---
+
+# Coding Style
 
 - 8ch indent, no tabs, except for files in `man/` which are 2ch indent,
   and still no tabs.
@@ -11,7 +15,7 @@
 
 - Don't break code lines too eagerly. We do **not** force line breaks at 80ch,
   all of today's screens should be much larger than that. But then again, don't
-  overdo it, ~119ch should be enough really. The `.editorconfig`, `.vimrc` and
+  overdo it, ~109ch should be enough really. The `.editorconfig`, `.vimrc` and
   `.dir-locals.el` files contained in the repository will set this limit up for
   you automatically, if you let them (as well as a few other things).
 
   }
   ```
 
-- Unless you allocate an array, `double` is always the better choice
-  than `float`. Processors speak `double` natively anyway, so this is
+- Unless you allocate an array, `double` is always a better choice
+  than `float`. Processors speak `double` natively anyway, so there is
   no speed benefit, and on calls like `printf()` `float`s get promoted
   to `double`s anyway, so there is no point.