]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
open.2: ffix
authorMichael Kerrisk <mtk.manpages@gmail.com>
Thu, 24 Sep 2020 07:02:29 +0000 (09:02 +0200)
committerMichael Kerrisk <mtk.manpages@gmail.com>
Thu, 24 Sep 2020 07:02:29 +0000 (09:02 +0200)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
man2/open.2

index ab80fd25fdd5aca1c566d3af108704448a3cb03d..380e5a4407a09955bdffae0e506c9cd96b5eec72 100644 (file)
@@ -827,11 +827,11 @@ char path[PATH_MAX];
 fd = open("/path/to/dir", O_TMPFILE | O_RDWR,
                         S_IRUSR | S_IWUSR);
 
-/* File I/O on 'fd'... */
+/* File I/O on \(aqfd\(aq... */
 
 linkat(fd, NULL, AT_FDCWD, "/path/for/file", AT_EMPTY_PATH);
 
-/* If the caller doesn't have the CAP_DAC_READ_SEARCH
+/* If the caller doesn\(aqt have the CAP_DAC_READ_SEARCH
    capability (needed to use AT_EMPTY_PATH with linkat(2)),
    and there is a proc(5) filesystem mounted, then the
    linkat(2) call above can be replaced with: