diff options
author | Joe Hunkeler <jhunkeler@gmail.com> | 2015-08-11 16:51:37 -0400 |
---|---|---|
committer | Joe Hunkeler <jhunkeler@gmail.com> | 2015-08-11 16:51:37 -0400 |
commit | 40e5a5811c6ffce9b0974e93cdd927cbcf60c157 (patch) | |
tree | 4464880c571602d54f6ae114729bf62a89518057 /sys/fmtio/scan.com | |
download | iraf-osx-40e5a5811c6ffce9b0974e93cdd927cbcf60c157.tar.gz |
Repatch (from linux) of OSX IRAF
Diffstat (limited to 'sys/fmtio/scan.com')
-rw-r--r-- | sys/fmtio/scan.com | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/sys/fmtio/scan.com b/sys/fmtio/scan.com new file mode 100644 index 00000000..cb60824c --- /dev/null +++ b/sys/fmtio/scan.com @@ -0,0 +1,10 @@ +# SCAN.COM -- Global common for the scan family of routines. + +define SZ_SCANBUF 4096 + +int sc_ip # char pointer into lbuf +int sc_ntokens # keep track of successful conversions +bool sc_stopscan # set if conversion is unsuccessful +char sc_scanbuf[SZ_SCANBUF] # line buffer for scan procedures + +common /scncom/ sc_ip, sc_ntokens, sc_stopscan, sc_scanbuf |