> Dear developers,
> Iam a beginner of Linux programming. In amiga.c, source code of vim1.14, I
> found this:
>
> 75 flushbuf()
> 76 {
> 77 if (bpos != 0)
> 78 Write(raw_out, (char *)outbuf, (long)bpos);
> 79 bpos = 0;
> 80 }
>
> So I am confused by the function "Write" for I didn't find the function
> prototype of it.
> is it the "write" function in unistd.h?
Ah, the good old Amiga. Write() is an AmigaDOS function, there must be
a header for it somewhere, don't recall what it is called.
> in fact I am trying to understand that how vim display chars in the
> terminal. I have tried to write /dev/tty, but the result is not
> satisfactory.
That depends on the compiler and how it translates Unix functionality to
the Amiga.
If you are not actually using an Amiga, you should look at other source
code and a much newer version of Vim.
--
hundred-and-one symptoms of being an internet addict:
259. When you enter your name in the AltaVista search engine, the top ten
matches do indeed refer to you.
/// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language -- http://www.Zimbu.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.