Added return values to documentation.

This commit is contained in:
2015-04-25 22:50:30 +01:00
parent a5d85b676f
commit 717cb052a4
5 changed files with 14 additions and 0 deletions

View File

@@ -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:

View File

@@ -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);
}

View File

@@ -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);
}

View File

@@ -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);
}

View File

@@ -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);
}