- Sort Score
- Num 10 results
- Language All
Results 1 - 2 of 2 for O_TRUNC (0.1 seconds)
-
src/main/java/jcifs/smb/SmbFile.java
private static void setCreateDisposition(final Smb2CreateRequest req, final int flags) { if ((flags & SmbConstants.O_TRUNC) == O_TRUNC && (flags & SmbConstants.O_CREAT) == O_CREAT) { req.setCreateDisposition(Smb2CreateRequest.FILE_OVERWRITE_IF); } else if ((flags & SmbConstants.O_TRUNC) == O_TRUNC) { req.setCreateDisposition(Smb2CreateRequest.FILE_OVERWRITE);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 103.2K bytes - Click Count (0) -
src/main/java/jcifs/smb1/smb1/SmbFile.java
// create if the file does not exist static final int O_CREAT = 0x0010; // fail if the file exists static final int O_EXCL = 0x0020; // truncate if the file exists static final int O_TRUNC = 0x0040; // share access /** * When specified as the {@code shareAccess} constructor parameter, * other SMB clients (including other threads making calls into jCIFS)Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 112.2K bytes - Click Count (0)