chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
build-sys: bump package and library version
[elogind.git]
/
CODING_STYLE
diff --git
a/CODING_STYLE
b/CODING_STYLE
index 996897bcde976479faf2845d6ca7a5f6f9930250..4ec5923d3d19aadcf304d9f5cdec535efa4e09ae 100644
(file)
--- a/
CODING_STYLE
+++ b/
CODING_STYLE
@@
-16,7
+16,7
@@
half-initialized objects, too
- Error codes are returned as negative Exxx. i.e. return -EINVAL. There
half-initialized objects, too
- Error codes are returned as negative Exxx. i.e. return -EINVAL. There
- are some exceptions: for constructors it
s
is OK to return NULL on
+ are some exceptions: for constructors it is OK to return NULL on
OOM. For lookup functions NULL is fine too for "not found".
Be strict with this. When you write a function that can fail due to
OOM. For lookup functions NULL is fine too for "not found".
Be strict with this. When you write a function that can fail due to