forked from ground/ground-old
Fix some typos and that
This commit is contained in:
@@ -269,10 +269,10 @@ void ground_init(GroundScope* scope) {
|
||||
|
||||
// Misc
|
||||
groundAddNativeFunction(scope, "unistd_Crypt", groundCrypt, STRING, 2, STRING, "key", STRING, "value");
|
||||
groundAddNativeFunction(scope, "unistd_GetHostId", groundGetHostId, STRING, 0);
|
||||
groundAddNativeFunction(scope, "unistd_GetHostId", groundGetHostId, INT, 0);
|
||||
groundAddNativeFunction(scope, "unistd_SetHostId", groundSetHostId, INT, 1, INT, "hostid");
|
||||
groundAddNativeFunction(scope, "unistd_GetHostname", groundGetHostname, INT, 0);
|
||||
groundAddNativeFunction(scope, "unistd_SetHostname", groundGetHostname, INT, 1, STRING, "name");
|
||||
groundAddNativeFunction(scope, "unistd_GetHostname", groundGetHostname, STRING, 0);
|
||||
groundAddNativeFunction(scope, "unistd_SetHostname", groundSetHostname, INT, 1, STRING, "name");
|
||||
|
||||
// Signals
|
||||
groundAddNativeFunction(scope, "unistd_Alarm", groundAlarm, INT, 1, INT, "seconds");
|
||||
@@ -310,7 +310,7 @@ void ground_init(GroundScope* scope) {
|
||||
groundAddNativeFunction(scope, "unistd_GetEUid", groundGetEUid, INT, 0);
|
||||
groundAddNativeFunction(scope, "unistd_GetLogin", groundGetLogin, STRING, 0);
|
||||
groundAddNativeFunction(scope, "unistd_SetEUid", groundSetEUid, INT, 1, INT, "euid");
|
||||
groundAddNativeFunction(scope, "unistd_SetEGid", groundSetEGid, INT, 1, INT, "euid");
|
||||
groundAddNativeFunction(scope, "unistd_SetEGid", groundSetEGid, INT, 1, INT, "egid");
|
||||
groundAddNativeFunction(scope, "unistd_SetREUid", groundSetEGid, INT, 1, INT, "ruid", INT, "euid");
|
||||
groundAddNativeFunction(scope, "unistd_SetREGid", groundSetEGid, INT, 1, INT, "rgid", INT, "egid");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user