as no_slogan points out, use print.
write is used for printing formatted text.
The opposite of read() is print().
To further confuse things, the functions sysread() and syswrite() are indeed opposite. They are the low level (unbuffered) versions of read() and print().
In reply to Re: Writing at specific position and length in binary file.
by wazat
in thread Writing at specific position and length in binary file.
by thanos1983
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |