⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 mkstemp_mode.h

📁 linux集群服务器软件代码包
💻 H
字号:
/* $Id: mkstemp_mode.h,v 1.2 2004/02/17 22:11:58 lars Exp $ *//* * A slightly safer version of mkstemp(3) * * In this version, the file is initially created mode 0, (using umask) and * then chmod-ed to the requested permissions after calling mkstemp(3). * This guarantees that the file is not even momentarily open beyond the * requested permissions. * * Return values: * * Like mkstemp, it returns the file descriptor of the open file, or -1 * on error. * * In addition to the errno values documented for mkstemp(3), this functio * can also fail with any of the errno values documented for chmod(2). * */int mkstemp_mode(char* template, mode_t requested_filemode);

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -