summaryrefslogtreecommitdiff
path: root/hurd/porting
diff options
context:
space:
mode:
authorThomas Schwinge <thomas@codesourcery.com>2014-02-26 22:57:28 +0100
committerThomas Schwinge <thomas@codesourcery.com>2014-02-26 22:57:28 +0100
commitda06687275d25430519365402e3be0800d612a68 (patch)
treeea88c95ca78c16be540f84e3cd56e08fcd435350 /hurd/porting
parent2674414598f3a95a9b2c84c418b17a7d27a9e524 (diff)
parentd216c51189addeaa03a0c92ac5d7708e004fa148 (diff)
Merge remote-tracking branch 'darnassus--hurd-web/master'
Conflicts: community/meetings.mdwn contributing.mdwn hurd/translator/pfinet/implementation.mdwn
Diffstat (limited to 'hurd/porting')
-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 6afa46fc..c4c864f7 100644
--- a/hurd/porting/guidelines.mdwn
+++ b/hurd/porting/guidelines.mdwn
@@ -335,6 +335,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.