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?

 

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.

 

Thanks!

 

Jian XU,

Institute of light wave technology @ BJTU, China 

 

-- 
-- 
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.

Raspunde prin e-mail lui