what's the close-on-exec file descriptor flag in C
2008-04-07 14:56
369 查看
the close-on-exec file descriptor flag mean if it will or not be closed on exec.
# man execve
execve() does not return on success, and the text, data, bss, and stack of the
calling process are overwritten by that of the program loaded. The program invoked
inherits the calling process's PID, and any open file descriptors that are not set to close on exec.
# man execve
execve() does not return on success, and the text, data, bss, and stack of the
calling process are overwritten by that of the program loaded. The program invoked
inherits the calling process's PID, and any open file descriptors that are not set to close on exec.
相关文章推荐
- Referenced file contains errors (http://www.springframework.org/schema/aop/spring-aop-3.0.xsd). For more information, right click on the message in th
- How to programmatically clear the filesystem memory cache in C++ on a Linux system?
- What is the use of the res/values/public.xml file on Android?
- Why is the "DEBUG: Error 2836" message generated in the DB2 V8, V9.1, or V9.5 installation log file on Windows system?
- Describe the process of opening a file in Linux system, what actions the operating system w
- sorting data based on the value in second column of a file
- 如何解决xxx is not in the sudoers file.This incident will be reported. on Mac
- [原]openstack-kilo--issue(十九) ImportError: Could not import settings 'openstack_dashboard.settings' (Is it on sys.path? Is there an import error in the settings file?): No module named main
- Referenced file contains errors (http://www.springframework.org/schema/context). For more information, right click on the message in the Problems
- To see what is in the MAT-file prior to loading it, use whos -file
- [CRIU]tty: Can't open 9 (index 0): Bad file descriptor" occurred in the restoring step
- XML错误信息Referenced file contains errors (http://www.springframework.org/schema/beans/spring-beans-4.0.xsd). For more information, right click on the message in the Problems View ...
- Changing a process’ file descriptor on the fly
- All routing maps in a partition scheme must also be listed on a line in the configuration file.
- The page you requested, favicon.ico, could not be found. in file **/system/core/Kohana.php on line 841
- 奇葩问题:This file could not be checked in because the original version of the file on the server was moved or deleted. A new version of this file has been saved to the server, but your check-in comments were not saved
- Weblogic发布小问题——The root element weblogic-web-app is missing in the descriptor file
- What exactly is copy-on-modify semantics in R, and where is the canonical source?
- What is the diference between putting a property on application.yml or bootstrap.yml in spring boot?
- What is load on startup element in web.xml file