From 72806e678978c271422f31a56ba7a6b349497b32 Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Wed, 20 Apr 2016 13:39:46 +0200 Subject: mention sem_init(pshared=1) too --- hurd/porting/guidelines.mdwn | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'hurd/porting') diff --git a/hurd/porting/guidelines.mdwn b/hurd/porting/guidelines.mdwn index 66c6ae28..cf0298d0 100644 --- a/hurd/porting/guidelines.mdwn +++ b/hurd/porting/guidelines.mdwn @@ -321,9 +321,9 @@ These are not POSIX, `sys/types.h` and `stdint.h` should be used instead. Not supported and actually very dangerous (permits userland to completely disable interruptions...). Replace with `ioperm(0, 65536, 1)`. -## `semget`, `sem_open` +## `semget`, `sem_open` -Not implemented, will always fail. Use `sem_init()` instead if possible. +Not implemented yet, will always fail. Use `sem_init()` instead if possible. `sem_init` with pshared=1 is not available yet either. ## `net/if_arp.h`, `net/ethernet.h`, etc. -- cgit v1.2.3 From 909c747a2ef5f922bbd9be6aecb04860667fc803 Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Wed, 20 Apr 2016 13:44:17 +0200 Subject: fix formatting --- hurd/porting/guidelines.mdwn | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'hurd/porting') diff --git a/hurd/porting/guidelines.mdwn b/hurd/porting/guidelines.mdwn index cf0298d0..7719208b 100644 --- a/hurd/porting/guidelines.mdwn +++ b/hurd/porting/guidelines.mdwn @@ -329,11 +329,11 @@ Not implemented yet, will always fail. Use `sem_init()` instead if possible. `s Not implemented, not POSIX. Try to disable the feature in the package. -## +## `linux/parport.h` `linux/ppdev.h` There is no programming interface for the parallel port on GNU/Hurd yet. -## +## `linux/cdrom.h` Use instead. @@ -343,7 +343,7 @@ This is not actually standard; cfsetspeed, cfsetispeed, or cfsetospeed should be ## IUCLC -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). +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). ## `errno` values -- cgit v1.2.3