Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for O_RDWR (0.24 sec)

  1. src/main/java/jcifs/smb/SmbFile.java

            try (SmbTreeHandleImpl th = ensureTreeConnected()) {
    
                if (th.isSMB2()) {
                    withOpen(th, Smb2CreateRequest.FILE_OPEN_IF, O_RDWR, 0, null);
                } else {
                    try (SmbFileHandle fd = openUnshared(O_RDWR | O_CREAT | O_EXCL, O_RDWR, FILE_NO_SHARE, ATTR_NORMAL, 0)) {
                        // close explicitly
                        fd.close(0L);
                    }
                }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 103.2K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/SmbFile.java

     *
     * @see       java.io.File
     */
    
    public class SmbFile extends URLConnection implements SmbConstants {
    
        static final int O_RDONLY = 0x01;
        static final int O_WRONLY = 0x02;
        static final int O_RDWR = 0x03;
        static final int O_APPEND = 0x04;
    
        // Open Function Encoding
        // create if the file does not exist
        static final int O_CREAT = 0x0010;
        // fail if the file exists
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 112.2K bytes
    - Viewed (0)
Back to top