Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Wiki Markup
The {{fopen_s()}} function defined in ISO/IEC TR 24731-1 \[[ISO/IEC TR 24731-20061-2007|AA. C References#ISO/IEC TR 24731-1-20062007]\] can be used to create a file with restriced permissions.  Specifically, ISO/IEC TR 24731-1 states:

...

Wiki Markup
\[[ISO/IEC 9899-1999|AA. C References#ISO/IEC 9899-1999]\] Section 7.19.5.3, "The fopen function"
\[[Open Group 04|AA. C References#Open Group 04]\] "The open function," "The umask function"
\[[ISO/IEC TR 24731-1-20062007|AA. C References#SO/IEC TR 24731-1-20062007]\] Section 6.5.2.1, "The fopen_s function"
\[[Viega 03|AA. C References#Viega 03]\] Section 2.7,  "Restricting Access Permissions for New Files on Unix"
\[[Dowd 06|AA. C References#Dowd 06]\] Chapter 9, "UNIX 1: Privileges and Files"