[Pcsclite-git-commit] [PCSC] 05/10: Doxygen: add documentation for SYS_RandomInt()

Ludovic Rousseau rousseau at moszumanska.debian.org
Fri Aug 5 15:48:05 UTC 2016


This is an automated email from the git hooks/post-receive script.

rousseau pushed a commit to branch master
in repository PCSC.

commit 3a4134432613e73baa8cbe2206f4e2a365c356ca
Author: Ludovic Rousseau <ludovic.rousseau at free.fr>
Date:   Thu Aug 4 11:39:51 2016 +0200

    Doxygen: add documentation for SYS_RandomInt()
---
 src/sys_unix.c | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/src/sys_unix.c b/src/sys_unix.c
index b22dc55..77cba36 100644
--- a/src/sys_unix.c
+++ b/src/sys_unix.c
@@ -96,6 +96,14 @@ INTERNAL int SYS_USleep(int iTimeVal)
 #endif
 }
 
+/**
+ * Generate a pseudo random number
+ *
+ * @param[in] fStart minimal value
+ * @param[in] fEnd maximal value or -1 for a full range
+ *
+ * @return a random number between fStart and fEnd
+ */
 INTERNAL int SYS_RandomInt(int fStart, int fEnd)
 {
 	int iRandNum = 0;

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pcsclite/PCSC.git



More information about the Pcsclite-cvs-commit mailing list