[vala] posix: Correct documentation comment for crypt()
- From: Rico Tzschichholz <ricotz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala] posix: Correct documentation comment for crypt()
- Date: Thu, 21 Jul 2016 13:57:12 +0000 (UTC)
commit 94acede2c36d1e7c8db5296af4be753abf931823
Author: Chris Daley <chebizarro gmail com>
Date: Thu Jun 16 12:16:40 2016 +0100
posix: Correct documentation comment for crypt()
https://bugzilla.gnome.org/show_bug.cgi?id=767047
vapi/posix.vapi | 11 +++++++----
1 files changed, 7 insertions(+), 4 deletions(-)
---
diff --git a/vapi/posix.vapi b/vapi/posix.vapi
index b142a36..3472112 100644
--- a/vapi/posix.vapi
+++ b/vapi/posix.vapi
@@ -1916,10 +1916,13 @@ namespace Posix {
[Version (deprecated_since = "POSIX.2", replacement = "termios ECHO flag")]
[CCode (cheader_filename = "unistd.h")]
public unowned string getpass (string promt);
- /** To expose Posix crypt() GNU's libc and others require the feature test
- * macro _XOPEN_SOURCE to be defined. See man 3 crypt
- * A VAPI is unable to define and emit this macro before all include files
- * Instead use valac -X -D_XOPEN_SOURCE
+ /**
+ * Encodes a string
+ *
+ * To expose Posix crypt() GNU's libc and others require the feature test
+ * macro _XOPEN_SOURCE to be defined. See man 3 crypt.
+ * A VAPI is unable to define and emit this macro before all include files
+ * Instead use valac -X -D_XOPEN_SOURCE
*/
[CCode (cheader_filename = "unistd.h")]
public unowned string crypt (string key, string salt);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]