![]() |
|
|
|||||||
| Home | Forums | Register | Rules & FAQ | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| High Level Programming Post questions about C, C++, Java, SQL, and other programming languages here. |
Other UNIX.COM Threads You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Reading a file from a specified offset | saurabhsinha23 | UNIX for Dummies Questions & Answers | 2 | 12-13-2007 08:52 AM |
| negative permissions | sickoboy | UNIX for Dummies Questions & Answers | 4 | 10-12-2006 06:49 PM |
| offset - informix chunk | shibz | UNIX for Dummies Questions & Answers | 1 | 01-27-2003 07:44 AM |
| Accessing substrings by offset and length | Vishnu | High Level Programming | 2 | 10-17-2002 07:07 AM |
| negative UID/GID?!! I can see 'em but what the hell do they mean?! | hellz | UNIX for Dummies Questions & Answers | 2 | 09-07-2001 12:18 PM |
![]() |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
|||
|
Negative Offset
Function: int fcntl(int fd, int cmd, struct flock * lock)
Data Type: struct flock This structure is used with the fcntl function to describe a file lock. It has these members: off_t l_start This specifies the offset of the start of the region to which the lock applies, and is given in bytes relative to the point specified by l_whence member. off_t l_len This specifies the length of the region to be locked. A value of 0 is treated specially; it means the region extends to the end of the file. Can I set negative offset to l_start? |
| Forum Sponsor | ||
|
|