In this case, we open a pipe in write mode to lp.
在此情况下,我们以写方式打开到lp的管道。
Remember from the section on opening and closing that we need two parameters (file path name and access mode to the device) to open a device on Linux.
从有关设备打开和关闭的讲解可知,我们需要两个参数(文件路径名和设备访问模式)来打开Linux设备。
By default, the AUTOCOMMIT mode is on, and any data-modification process causes a commit operation to be performed - which, by default, closes any open cursors.
默认情况下,AUTOCOMMIT处于启用状态,并且所有数据修改过程都将导致执行一次提交操作——该操作在默认情况下将关闭所有打开的游标。
应用推荐