From 4d7098f2f223934ab50787c2e7923e16d160c4b8 Mon Sep 17 00:00:00 2001 From: Stefan Date: Wed, 7 Feb 2018 16:23:49 +0100 Subject: [PATCH] Requested changes --- doc/funcref.sgml | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/doc/funcref.sgml b/doc/funcref.sgml index 83fc36a6b..c083f467e 100644 --- a/doc/funcref.sgml +++ b/doc/funcref.sgml @@ -3466,6 +3466,9 @@ returns one of the constants / or requiring a 'device' parameter. @@ -3475,7 +3478,7 @@ returns one of the constants , -puts (getdevicedir (getcurrentdevice (), buf, sizeof buf)); +dio_open (getcurrentdevice ()); @@ -3506,7 +3509,9 @@ be used in presence of a prototype. / The function is only available as fastcall function, so it may only be used in presence of a prototype. @@ -3518,7 +3523,7 @@ be used in presence of a prototype. , -puts (getdevicedir (getcurrentdevice (), buf, sizeof buf)); +chdir (getdevicedir (device, buf, sizeof buf)); @@ -3555,7 +3560,7 @@ be used in presence of a prototype. / @@ -3566,7 +3571,7 @@ The value 255 indicates no device. unsigned char dev = getfirstdevice (); -while (dev != 255) { +while (dev != INVALID_DEVICE) { printf ("%d\n", dev); dev = getnextdevice (dev); } @@ -3583,7 +3588,7 @@ while (dev != 255) { / The function is only available as fastcall function, so it may only be used in presence of a prototype. @@ -3595,7 +3600,7 @@ be used in presence of a prototype. unsigned char dev = getfirstdevice (); -while (dev != 255) { +while (dev != INVALID_DEVICE) { printf ("%d\n", dev); dev = getnextdevice (dev); } -- 2.39.5