summaryrefslogtreecommitdiffstats
path: root/common/os/os.h
diff options
context:
space:
mode:
authorAdam Tkac <atkac@redhat.com>2010-11-25 15:07:35 +0000
committerAdam Tkac <atkac@redhat.com>2010-11-25 15:07:35 +0000
commitb8ec9e851ff81af3b2e0dc51cb11e090cab6f12e (patch)
treef1a6f6e637b8ab8580141c056c7d1ce8870e67b6 /common/os/os.h
parent5b1d8503b860151171544f1be20940a38eeb0c33 (diff)
downloadtigervnc-b8ec9e851ff81af3b2e0dc51cb11e090cab6f12e.tar.gz
tigervnc-b8ec9e851ff81af3b2e0dc51cb11e090cab6f12e.zip
[Development] Implement gethomedir() function on Windows.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4208 3789f03b-4d11-0410-bbf8-ca57d06f2519
Diffstat (limited to 'common/os/os.h')
-rw-r--r--common/os/os.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/common/os/os.h b/common/os/os.h
index fce21def..18e61e23 100644
--- a/common/os/os.h
+++ b/common/os/os.h
@@ -27,6 +27,9 @@
* Get home directory. If HOME environment variable is set then it is returned.
* Otherwise home directory is obtained via getpwuid function.
*
+ * Note for Windows:
+ * This functions returns array of TCHARs, not array of chars.
+ *
* Returns:
* 0 - Success
* -1 - Failure