From: Stefan Date: Wed, 7 Feb 2018 15:23:49 +0000 (+0100) Subject: Requested changes X-Git-Tag: V2.17~23^2 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=refs%2Fpull%2F587%2Fhead;p=cc65 Requested changes --- 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); }