DB 2Viper中没有相似的文件函数。
记住这些步骤,我将回顾在这里使用的每个文件函数。
With that in mind, I'll review each file function used here.
执行此函数后,您将不再能够从文件或套接字中读取任何信息。
You are no longer able to read from the file or socket after this function.
如果选择了文件,则运行定制函数;否则,不进行任何操作。
If a file is selected, then run the custom function; otherwise, do nothing.
示例定制函数将访问文件信息并在表单中显示结果。
The sample custom function accesses the file information and displays the results in the form.
EISDIR:您使用了目录参数来调用要求文件参数的函数。
EISDIR — You called a function that requires a file argument with a directory argument.
让我们编写一个输入函数来从文件中读取相应的行。
Let's write an input function to get the relevant lines from the file.
最常见的情况是,您会为自己的函数创建一个新文件。
调用该函数时,所有进入的字节流已被写入到文件。
When you call this function, all incoming byte streams are written to a file.
对于文件没有扩展名的情况,此函数将返回空字符串。
In case a file does not have an extension, the function returns an empty string.
其他程序员构建大量充满函数的包含文件。
Other programmers build massive include files full of functions.
如果您认为该函数改变了MAK文件,那么您是对的。
如果路径与文件对应,此函数将检查文件的大小是否等于0。
If the path corresponds to a file, this function checks whether file size equals 0.
用于写文件的新函数,如下所示。
当然,以上函数只允许顺序读取文件。
Of course, the above functions only allow you to read a file in order.
这个函数从一个打开文件中读取数据。
使用上面的这个函数来取得文件的扩展名。
在头文件里,只有一些函数名。
In a.h file, it's generally the names of functions other people wrote.
您可以在js/toolbar.js文件中找到这个完整的函数。
You can find the completed function in the js/toolbar.js file.
file函数只是将文件复制到一个数组中。
这个文件中有三个核心函数
在该文件中,第一个函数是cmdCheckOut。
考虑readapi函数,它从文件读取一定数量的字节。
Consider the read API function, which reads some number of bytes from a file.
DW _ TAG_subprogram:一个全局或文件静态子例程或函数。
DW_TAG_subprogram - a global or file static subroutine or function.
函数clogmessage向日志文件写入一个消息。
要读取数据,一个简单的data . php文件包含单个函数load_data。
To read the data, a simple data.php file contains a single function, load_data.
要注意的第二件事是文件尾部的register函数。
The second thing to notice is the Register function at the bottom of the file.
ENLINK:函数调用会导致文件具有超过link_max个的链接。
ENLINK — The function call would cause a file to have more than LINK_MAX links.
在hilbert_fct .sql文件中可以找到用于注册函数的sql语句。
The SQL statement to register the function can be found in the file hilbert_fct.sql.
php将使用include函数,后接文件路径。
应用推荐