stack区域用于子程序返回地址,也用于存储自动数据。
The stack region is used for subroutine return addresses, as well as to store automatic data.
pthread_create()子程序使用线程参数返回新的线程ID。
The pthread_create() subroutine returns the new thread ID using a thread argument.
想象一下可以修改子程序的返回值!
Imagine being able to modify the return value of your subroutine!
这个子程序将打开一个文件,从中读取当前的加速器数据,然后关闭文件,并返回不包含 “,(逗号)”字符的数据。
This subroutine simply opens the file, reads the current accelerometer data, closes the file, and returns the data without the , (comma) characters.
第一个子程序 socket_setup() ,它返回一个准备接受连接的套接字。
The first one, socket_setup(), returns a socket which is ready to accept connections.
中断服务子程序内容:灯全部熄灭,2秒钟后发光二极管全部点亮,再过1秒钟后中断返回。
The contents of the interrupt service routine: all the lights off, 2 seconds later all the light-emitting diode, another 1 second to return after the break.
中断服务子程序内容:灯全部熄灭,2秒钟后发光二极管全部点亮,再过1秒钟后中断返回。
The contents of the interrupt service routine: all the lights off, 2 seconds later all the light-emitting diode, another 1 second to return after the break.
应用推荐