comparison src/file-io.cc @ 7768:a2d9f325b65a

Use isschar instead of deprecated isstr
author Rafael Laboissiere <rafael@debian.org>
date Sat, 03 May 2008 11:47:54 +0200
parents b68e44c90afe
children 02a7fe6907d2
comparison
equal deleted inserted replaced
7767:71f068b22fcc 7768:a2d9f325b65a
1732 For example,\n\ 1732 For example,\n\
1733 \n\ 1733 \n\
1734 @example\n\ 1734 @example\n\
1735 @group\n\ 1735 @group\n\
1736 fid = popen (\"ls -ltr / | tail -3\", \"r\");\n\ 1736 fid = popen (\"ls -ltr / | tail -3\", \"r\");\n\
1737 while (isstr (s = fgets (fid)))\n\ 1737 while (ischar (s = fgets (fid)))\n\
1738 fputs (stdout, s);\n\ 1738 fputs (stdout, s);\n\
1739 endwhile\n\ 1739 endwhile\n\
1740 @print{} drwxr-xr-x 33 root root 3072 Feb 15 13:28 etc\n\ 1740 @print{} drwxr-xr-x 33 root root 3072 Feb 15 13:28 etc\n\
1741 @print{} drwxr-xr-x 3 root root 1024 Feb 15 13:28 lib\n\ 1741 @print{} drwxr-xr-x 3 root root 1024 Feb 15 13:28 lib\n\
1742 @print{} drwxrwxrwt 15 root root 2048 Feb 17 14:53 tmp\n\ 1742 @print{} drwxrwxrwt 15 root root 2048 Feb 17 14:53 tmp\n\