其结果是您可以使用它们的名字来调用内核函数,就像其他任何系统调用一样。
But the result is that you can call your kernel functions using their names, just like any other system call.
本系统使用一组可事后进行清理的处理程序函数。
This system uses a set of handler functions that can clean up after themselves.
在使用ODBC时,这是一个冗余体验,因为在初始化应用程序时已经完成配置,所以对于数据库系统而言,odbc函数具有双重作用。
This is a redundant practice when using ODBC, as the configuration is purely in initialization of the application, and the ODBC functions are androgynous to the database system.
类似导入/导出函数,使用HTTP/CLIAPI转移项目需要您先将数据源导出到目标系统上。
Similar to the import/export function, transferring the project using the HTTP/CLI API requires that you have imported the data sources on the target system.
PINE 并没有包括系统头文件,而是对相关函数提供了自己的声明,所有这些都是使用32 位偏移量来定义的。
PINE, rather than including the system headers, provided its own declaration of the related functions, all defined in terms of 32-bit offsets.
可以使用一组注册函数在Linux中动态地添加或删除文件系统。
File systems can be dynamically added or removed from Linux using a set of registration functions.
它使用了AutoSplit系统生成的文件,可以将一个模块划分成单个函数。
This USES files generated by the AutoSplit system, which divides up a module into the individual functions.
在本文中,我将探究LinuxSCI,演示如何向2.6.20内核添加一个系统调用,然后从用户空间来使用这个函数。
In this article, I explore the Linux SCI, demonstrate adding a system call to the 2.6.17 and prior 2.6 kernels, and then use this function from user-space.
请参阅stdiot 以及本文中使用的所有系统调用和函数的手册页。
Read the man pages for stdio, and for all the system calls and functions used in this article.
我们将在样式表中使用扩展函数 rdf.complete来收集关于系统中所有软件的信息。
We will use the extension function rdf.complete in our stylesheet to gather information about all of the software in the system.
该函数是打开文件的高层次方式;但是,因为在Linux中打开文件的唯一方法是使用open系统调用,所以fopen在其实现中利用open 。
This function is a high-level way of opening a file; but, since the only way to open a file in Linux is to use the open system call, fopen makes use of open in its implementation.
它演示了对一些系统调用和c库函数的适当使用,其中包括fopen、fclose、access、setvbuf、perror、strerror和popen。
It shows appropriate use of some system calls and library functions from c, including fopen, fclose, access, setvbuf, perror, strerror, and popen.
当系统调用中出现错误时,您至少可以用以下两种方式的一种来访问和显示与该错误对应的消息:通过使用perror或strerror函数。
When an error occurs in a system call, you can access and display a message corresponding to the error in at least one of two ways: by using either the perror or the strerror function.
但我们使用了system函数来发送email,因此email地址的内容可能会影响到系统。
But because we are sending email using the system function, the contents of the email address could be used to compromise the system. For example, imagine if the supplied email address was.
使用syscall函数,您可以通过指定它的调用索引和一组参数来调用系统调用。
With the syscall function, you can call a system call by specifying its call index and a set of arguments.
实际上您可以使用系统中的strcmp,但是测试程序错误地认为缺少这个函数。
In fact, you could indeed use STRCMP on that system, but the test program incorrectly thought it was missing.
通过使用 sys_nerr全局变量和strerror()函数,将可以很轻松地快速编写一些代码(请参见清单5)以打印出系统的所有内置错误消息。
Using the sys_nerr global variable and the strerror() function, you can easily whip up some code (see Listing 5) to print out all of the built-in error messages of the system.
为了让JIT编译器可以确定正确的处理器类型,需要使用systemcfg_init函数检查系统配置信息。
In order for the JIT compiler to determine the correct processor type, system configuration information is examined with the systemcfg_init function.
为了获得更完全的灵活性,在具有popen函数的unix类系统中,在将文件传送给plot命令之前,可以使用文本处理实用程序对文件进行预处理。
For complete flexibility, in Unix-like systems with a popen function, you can pre-process the file with text processing utilities before it is passed into the plot command.
使用exec函数来向操作系统发送命令。
You use the exec function to send a command to the operating system. This command calls Scilab, just as you saw in the previous section
简而言之,都是关于识别在含有特定Solaris系统命令的脚本中使用的Perl核心函数和操作符。
In short, it's all about identifying Perl core functions and operators leveraged in the script that carries Solaris-specific system commands.
它使用了方便的require函数,这个函数是被自动导入到当前的作用域中的(正如我们将在《第7章- Scala对象系统》的“预定义对象”章节所要讨论的)。
It USES the convenient require function that is imported automatically into the current scope (as we'll discuss in the section called "the Predef Object" in Chapter 7, the Scala Object System).
有些函数需要使用系统调用来完成其工作,其它函数则不需要。
Some functions need to use a system call in order to do their work, others do not.
管理员可以使用系统提供的两个新函数分析小型XML文档的内联。
Two new system-supplied functions enable administrators to analyze inlining of small XML documents.
当您再次选择运行相同过程或函数时,系统将使用从上一次运行该特定过程或函数中得到的值预填充参数值。
When you choose to run the same procedure or function again, the parameter values are pre-filled with values from the previous run of that particular procedure or function.
正如您所见,syscall函数使用了系统调用表中使用的索引作为第一个参数。
As you can see, the syscall function includes as its first argument the index of the system call table to use.
通过使用一组通用的API函数,Linux可以在许多种存储设备上支持许多种文件系统。
Using a common set of API functions, a large variety of file systems can be supported on a large variety of storage devices.
例如,清单1所示代码使用rect函数绘制了一个正方形,然后使用translate修改坐标系统。
For example, the code in Listing 1 draws a square using the rect function, then specifies a change to the coordinate system using translate.
这意味着要使用fchown 、fstat或fchmod系统调用,而不使用取得文件名的函数,比如chown 、chgrp和chmod 。
This means use the fchown , fstat , or fchmod system calls, instead of the functions taking file names, such as chown , CHGRP , and chmod .
DB 2UDBV8.2中增加了一个新工具,称为ActivityMonitor。它使用各种sql函数和过程获得性能数据,对系统进行分析。
A new tool added in DB2 UDB V8.2, called the Activity Monitor, USES various SQL functions and procedures to retrieve performance data for a live system for analysis.
应用推荐