7 references to SeekWhence
System.Private.CoreLib (7)
LibraryImports.g.cs (2)
6879
internal static partial long LSeek(global::Microsoft.Win32.SafeHandles.SafeFileHandle fd, long offset, global::Interop.Sys.
SeekWhence
whence)
6908
static extern unsafe long __PInvoke(nint __fd_native, long __offset_native, global::Interop.Sys.
SeekWhence
__whence_native);
src\libraries\Common\src\Interop\Unix\System.Native\Interop.LSeek.cs (1)
19
internal static partial long LSeek(SafeFileHandle fd, long offset,
SeekWhence
whence);
src\libraries\System.Private.CoreLib\src\Microsoft\Win32\SafeHandles\SafeFileHandle.Unix.cs (2)
401
Debug.Assert(status.Size == 0 || Interop.Sys.LSeek(this, 0, Interop.Sys.
SeekWhence
.SEEK_CUR) >= 0);
556
_canSeek = canSeek = Interop.Sys.LSeek(this, 0, Interop.Sys.
SeekWhence
.SEEK_CUR) >= 0 ? NullableBool.True : NullableBool.False;
src\libraries\System.Private.CoreLib\src\System\IO\Strategies\FileStreamHelpers.Unix.cs (1)
34
CheckFileCall(Interop.Sys.LSeek(handle, offset, (Interop.Sys.
SeekWhence
)(int)origin), handle.Path); // SeekOrigin values are the same as Interop.libc.SeekWhence values
src\libraries\System.Private.CoreLib\src\System\IO\Strategies\UnixFileStreamStrategy.cs (1)
30
long result = Interop.Sys.LSeek(_fileHandle, _filePosition, Interop.Sys.
SeekWhence
.SEEK_SET);