diff options
Diffstat (limited to 'winsup/cygwin/cygheap.h')
-rw-r--r-- | winsup/cygwin/cygheap.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/winsup/cygwin/cygheap.h b/winsup/cygwin/cygheap.h index 2feff8518..9e86519dd 100644 --- a/winsup/cygwin/cygheap.h +++ b/winsup/cygwin/cygheap.h @@ -206,6 +206,14 @@ public: internal_token = NO_IMPERSONATION; } } + char * get_windows_id (char * buf) + { + if (wincap.is_winnt ()) + return effec_cygsid.string (buf); + else + return strcpy (buf, name ()); + } + const char *cygheap_user::test_uid (char *&, const char *, size_t) __attribute__ ((regparm (3))); }; |