summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2014-01-30 23:26:27 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2014-01-30 23:26:27 +0100
commite763c28e9aabc10660f5085e6af69de80ab71c9a (patch)
tree7491b1ccdeb0b61285f6a764b5b7d69f93481ee6
parentce87d100dcfd09ba08a27f2a788998753126be43 (diff)
mention IUCLC being a GNU extension
-rw-r--r--hurd/porting/guidelines.mdwn4
1 files changed, 4 insertions, 0 deletions
diff --git a/hurd/porting/guidelines.mdwn b/hurd/porting/guidelines.mdwn
index d28a777e..e029744d 100644
--- a/hurd/porting/guidelines.mdwn
+++ b/hurd/porting/guidelines.mdwn
@@ -317,6 +317,10 @@ Use <sys/cdrom.h> instead.
This is not actually standard; cfsetspeed, cfsetispeed, or cfsetospeed should be used instead.
+## <a name="termios"> IUCLC </a>
+
+IUCLC is a GNU extension. `#define _GNU_SOURCE' thus has to be used to get the definition (even if Linux unconditionally provides it, it should not).
+
## <a name="errno"> `errno` values </a>
When dealing with `errno`, you should always use the predefined error codes defined with the `E*` constants, instead of manually comparing/assigning/etc with their values.