diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2014-01-30 23:26:27 +0100 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2014-01-30 23:26:27 +0100 |
commit | e763c28e9aabc10660f5085e6af69de80ab71c9a (patch) | |
tree | 7491b1ccdeb0b61285f6a764b5b7d69f93481ee6 /hurd/porting | |
parent | ce87d100dcfd09ba08a27f2a788998753126be43 (diff) |
mention IUCLC being a GNU extension
Diffstat (limited to 'hurd/porting')
-rw-r--r-- | hurd/porting/guidelines.mdwn | 4 |
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. |