mirror of https://github.com/ceph/go-ceph
rbd: doc comments for Seek constants
Signed-off-by: John Mulligan <jmulligan@redhat.com>
This commit is contained in:
parent
560d6ccd2c
commit
002ffc8c91
|
@ -23,9 +23,14 @@ import (
|
|||
)
|
||||
|
||||
const (
|
||||
// Image.Seek() constants
|
||||
// Image.Seek() constants:
|
||||
|
||||
// SeekSet is used with Seek to absolutely position the file.
|
||||
SeekSet = int(C.SEEK_SET)
|
||||
// SeekCur is used with Seek to position the file relatively to the current
|
||||
// position.
|
||||
SeekCur = int(C.SEEK_CUR)
|
||||
// SeekEnd is used with Seek to position the file relatively to the end.
|
||||
SeekEnd = int(C.SEEK_END)
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in New Issue