summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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.