Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 14 of 14 for O_RDONLY (0.19 sec)

  1. src/main/java/jcifs/smb1/smb1/SmbFileInputStream.java

         * @throws UnknownHostException if the server cannot be resolved
         */
    
        public SmbFileInputStream(final SmbFile file) throws SmbException, MalformedURLException, UnknownHostException {
            this(file, SmbFile.O_RDONLY);
        }
    
        SmbFileInputStream(final SmbFile file, final int openFlags) throws SmbException, MalformedURLException, UnknownHostException {
            this.file = file;
            this.openFlags = openFlags & 0xFFFF;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/SmbFile.java

     * will never change.
     *
     * @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
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 112.2K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SmbRandomAccessFile.java

            this.unsharedFile = unsharedFile;
    
            try (SmbTreeHandleInternal th = this.file.ensureTreeConnected()) {
                if (mode.equals("r")) {
                    this.openFlags = SmbConstants.O_CREAT | SmbConstants.O_RDONLY;
                    this.access = SmbConstants.FILE_READ_DATA;
                } else if (mode.equals("rw")) {
                    this.openFlags = SmbConstants.O_CREAT | SmbConstants.O_RDWR | SmbConstants.O_APPEND;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SmbFile.java

                    throw new SmbUnsupportedOperationException("Not supported without CAP_NT_SMBS");
                }
                return new SmbWatchHandleImpl(openUnshared(O_RDONLY, READ_CONTROL | GENERIC_READ, DEFAULT_SHARING, 0, 1), filter, recursive);
            }
        }
    
        @Override
        public boolean canRead() throws SmbException {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 103.2K bytes
    - Viewed (0)
Back to top