summaryrefslogtreecommitdiff
path: root/serial.c
diff options
context:
space:
mode:
authorGary E. Miller <gem@rellim.com>2015-03-31 12:43:33 -0700
committerGary E. Miller <gem@rellim.com>2015-03-31 12:43:33 -0700
commit212ba19da433cd9739cb325b492b8dd1c062207a (patch)
treee1765a0449c572fd590a26db688139e757af64ba /serial.c
parent91da2cbbcdbd97a3b2d1fd07de560ad6a133c16a (diff)
downloadgpsd-212ba19da433cd9739cb325b492b8dd1c062207a.tar.gz
Comment /dev/ppsX open flow.
Diffstat (limited to 'serial.c')
-rw-r--r--serial.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/serial.c b/serial.c
index a85a4ffb..a81081d9 100644
--- a/serial.c
+++ b/serial.c
@@ -407,7 +407,12 @@ void gpsd_set_speed(struct gps_device_t *session,
}
int gpsd_serial_open(struct gps_device_t *session)
-/* open a device for access to its data */
+/* open a device for access to its data
+ * return: the opened file descriptor
+ * PLACEHOLDING_FD - for /dev/ppsX
+ * UNALLOCATED_FD - for open failure
+ */
+
{
mode_t mode = (mode_t) O_RDWR;