mirror of
https://github.com/claunia/Claunia.IO.git
synced 2025-12-16 19:24:44 +00:00
Added return values to documentation.
This commit is contained in:
@@ -1,3 +1,11 @@
|
||||
2015-04-25 Natalia Portillo <claunia@claunia.com>
|
||||
|
||||
* Interop/Apple/Interop.Apple.stat.cs:
|
||||
* Interop/Linux/Interop.Linux.uname.cs:
|
||||
* Interop/Apple/Interop.Apple.uname.cs:
|
||||
* Interop/Apple/Interop.Apple.getattrlist.cs:
|
||||
Added return values to documentation.
|
||||
|
||||
2015-04-25 Natalia Portillo <claunia@claunia.com>
|
||||
|
||||
* Claunia.IO.csproj:
|
||||
|
||||
@@ -741,6 +741,7 @@ internal static partial class Interop
|
||||
/// <param name="attrBuf">Pointer to a buffer to store the attributes on it.</param>
|
||||
/// <param name="attrBufSize">Allocated size of <paramref name="attrBuf"/>.</param>
|
||||
/// <param name="options"><see cref="getAttrListOptions"/>.</param>
|
||||
/// <returns>On success, 0. On failure, -1, and errno is set.</returns>
|
||||
[DllImport(Libraries.Libc, SetLastError = true)]
|
||||
public static extern int getattrlist(string path, AttrList attrList, IntPtr attrBuf, UInt32 attrBufSize, UInt32 options);
|
||||
|
||||
@@ -753,6 +754,7 @@ internal static partial class Interop
|
||||
/// <param name="attrBuf">Pointer to a buffer that store the attributes on it.</param>
|
||||
/// <param name="attrBufSize">Allocated size of <paramref name="attrBuf"/>.</param>
|
||||
/// <param name="options"><see cref="getAttrListOptions"/>.</param>
|
||||
/// <returns>On success, 0. On failure, -1, and errno is set.</returns>
|
||||
[DllImport(Libraries.Libc, SetLastError = true)]
|
||||
public static extern int setattrlist(string path, AttrList attrList, IntPtr attrBuf, UInt32 attrBufSize, UInt32 options);
|
||||
}
|
||||
|
||||
@@ -438,6 +438,7 @@ internal static partial class Interop
|
||||
/// </summary>
|
||||
/// <param name="path">Path to the file.</param>
|
||||
/// <param name="buf"><see cref="Stat"/> on 32 bit systems and <see cref="Stat64"/> on 64 bit systems.</param>
|
||||
/// <returns>On success, 0. On failure, -1, and errno is set.</returns>
|
||||
[DllImport(Libraries.Libc, SetLastError = true)]
|
||||
public static extern int stat(string path, out Stat buf);
|
||||
|
||||
@@ -447,6 +448,7 @@ internal static partial class Interop
|
||||
/// </summary>
|
||||
/// <param name="path">Path to the file.</param>
|
||||
/// <param name="buf"><see cref="Stat64"/>.</param>
|
||||
/// <returns>On success, 0. On failure, -1, and errno is set.</returns>
|
||||
[DllImport(Libraries.Libc, SetLastError = true)]
|
||||
public static extern int stat64(string path, out Stat64 buf);
|
||||
}
|
||||
|
||||
@@ -68,6 +68,7 @@ internal static partial class Interop
|
||||
/// Calls to system's uname(3)
|
||||
/// </summary>
|
||||
/// <param name="name"><see cref="utsname"/>.</param>
|
||||
/// <returns>On success, 0. On failure, -1, and errno is set.</returns>
|
||||
[DllImport("libc", SetLastError = true)]
|
||||
internal static extern int uname(out utsname name);
|
||||
}
|
||||
|
||||
@@ -72,6 +72,7 @@ internal static partial class Interop
|
||||
/// Calls to system's uname(3)
|
||||
/// </summary>
|
||||
/// <param name="name"><see cref="utsname"/>.</param>
|
||||
/// <returns>On success, 0. On failure, -1, and errno is set.</returns>
|
||||
[DllImport("libc", SetLastError = true)]
|
||||
internal static extern int uname(out utsname name);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user