Dear.

I need  to read /proc/pid/cmdline files

But if i use a standard function that read file with assign,"readln",EOF some important non-printables caracters are not trapped

with fpc readln :
imapd-s-U30

if i use cat -v  "cat -v  /proc/26328/cmdline"

[EMAIL PROTECTED]@[EMAIL PROTECTED]@

Did anybody has developped a function that read a file include non-printable caracters "^@" like a cat -v command line tool ?

Best regards




--
David Touzeau -------------------------- Linux Ubuntu 7.04 feisty FreePascal-Lazarus,perl,delphi,php artica for postfix management console (http://www.artica.fr) icq:160018849
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to