diff options
author | Niklas Therning <nitherni@microsoft.com> | 2018-09-18 13:21:49 +0300 |
---|---|---|
committer | Niklas Therning <nitherni@microsoft.com> | 2018-09-18 13:21:49 +0300 |
commit | 49f9ed0e66fc2d4cd682821396c6af5e80182048 (patch) | |
tree | 2de750c1ac8a487d7f6d149592a6362ade6a5a77 /src/System.Private.CoreLib/shared/Interop/Unix/System.Native/Interop.Read.cs | |
parent | f9124d69e41d42196510dd7234b2d53fed48ad4c (diff) | |
parent | 267410d0ab65fabc61d6cd3e0e1c2ebed43ea661 (diff) |
Merge remote-tracking branch 'upstream/master' into bump-corert
Diffstat (limited to 'src/System.Private.CoreLib/shared/Interop/Unix/System.Native/Interop.Read.cs')
-rw-r--r-- | src/System.Private.CoreLib/shared/Interop/Unix/System.Native/Interop.Read.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/System.Private.CoreLib/shared/Interop/Unix/System.Native/Interop.Read.cs b/src/System.Private.CoreLib/shared/Interop/Unix/System.Native/Interop.Read.cs index 812ae348d..1be5e789c 100644 --- a/src/System.Private.CoreLib/shared/Interop/Unix/System.Native/Interop.Read.cs +++ b/src/System.Private.CoreLib/shared/Interop/Unix/System.Native/Interop.Read.cs @@ -20,6 +20,6 @@ internal static partial class Interop /// Note - on fail. the position of the stream may change depending on the platform; consult man 2 read for more info /// </returns> [DllImport(Libraries.SystemNative, EntryPoint = "SystemNative_Read", SetLastError = true)] - internal static unsafe extern int Read(SafeFileHandle fd, byte* buffer, int count); + internal static extern unsafe int Read(SafeFileHandle fd, byte* buffer, int count); } } |