mirror of
https://github.com/aphrody-labs/PowerShell.git
synced 2026-10-17 12:45:47 +00:00
fetched changes from branch feature/GetComputerName
This commit is contained in:
1 parent
beb5be9ffa
commit
70645d5bc1
4 files changed
+42
-1
No files matched your search
@@ -0,0 +1,8 @@
|
||||
#include "getcomputername.h"
|
||||
#include <unistd.h>
|
||||
|
||||
int GetComputerName(char *name, size_t len)
|
||||
{
|
||||
int host = gethostname(name, len);
|
||||
return host;
|
||||
}
|
||||
Reference in new issue
Block a user