英文字典中文字典


英文字典中文字典51ZiDian.com



中文字典辞典   英文字典 a   b   c   d   e   f   g   h   i   j   k   l   m   n   o   p   q   r   s   t   u   v   w   x   y   z       







请输入英文单字,中文词皆可:

eof    
n. 文件结束

文件结束

End Of File

1. The {out-of-band} value returned by {C}'s sequential
character-input functions (and their equivalents in other
environments) when end of file has been reached. This value
is -1 under {C} libraries postdating V6 Unix, but was
originally 0.

2. The keyboard character (usually control-D, the ASCII EOT
(End Of Transmission) character) that is mapped by the {Unix}
terminal driver into an end-of-file condition.

[{Jargon File}]

(1995-01-18)



安装中文字典英文字典查询工具!


中文字典英文字典工具:
选择颜色:
输入中英文单字

































































英文字典中文字典相关资料:


  • linux - How does cat lt; lt; EOF work in bash? - Stack Overflow
    The cat <<EOF syntax is very useful when working with multi-line text in Bash, eg when assigning multi-line string to a shell variable, file or a pipe Examples of cat <<EOF syntax usage in Bash: 1 Assign multi-line string to a shell variable $ sql=$(cat <<EOF SELECT foo, bar FROM db WHERE foo='baz' EOF )
  • linux - What does lt; lt;EOF do? - Super User
    Instead of using cntrl+d, Cat<<EOF command can be used in this scenario and type EOF at the end of the paragraph The system will consider EOF as the End of the para Instead of EOF, any alphabets can be used eg) CAT<<ZZZ New txt (Press Enter) Here, the User will be prompted to type the input At the end of the para, type ZZZ, then press enter
  • End of File (EOF) in C - Stack Overflow
    Why EOF is -1: usually -1 in POSIX system calls is returned on error, so i guess the idea is "EOF is kind of error" any boolean operation (including !=) returns 1 in case it's TRUE, and 0 in case it's FALSE, so getchar() != EOF is 0 when it's FALSE, meaning getchar() returned EOF in order to emulate EOF when reading from stdin press Ctrl+D
  • What is different between lt; lt;-EOF and lt; lt;EOF in bash script?
    If you use <<-EOF, I recommend the man page of the Bourne Shell: If, however, the hyphen (-) is appended to <<: leading tabs are stripped from word before the shell input is read (but after parameter and command substitution is done on word);
  • c++ - How does ifstreams eof () work? - Stack Overflow
    "The EOF flag is only set after a read operation reaches the end of the file " is exactly the statement that causes confusing about EOF The EOF flag is only set after a read operation attempts to read past the end of the file The last bit is critical: If I read 3 bytes from a file 3 bytes long, EOF is false, until I attempt another read –
  • How would you represent EOF in bash? - Stack Overflow
    the EOT you refer to is only one way to trigger an EOF to the reading program it's not "the eof character" as said, eof isn't a character you can change what character triggers an EOF by saying "stty eof A" (or any other character) then, pressing "A" on the terminal will signal "EOF" –
  • c - Im trying to understand getchar() != EOF - Stack Overflow
    Value of EOF is by default -1 ((c = getchar()) != EOF) As long as the value stays something other than EOF or, in other words, as long as the condition stays true, the loop will continue to iterate Once the value becomes EOF the value of the entire condition will be 0 and it will break the loop
  • What is EOF and what is its significance? How can it be noticed?
    Definitely, EOF constant is not a character, is the int value getchar(3) returns on end of file condition This is also the reason of getchar(3) returning an int instead of a char value It is also the reason always EOF maps to a negative value getchar(3) returns one of 257 possible values, 0 up to 255 and EOF (which is normally -1)





中文字典-英文字典  2005-2009