size_t mblen( /* SYNOPSIS */ const char *s, size_t n) /* FUNCTION INPUTS RESULT NOTES Not implemented. EXAMPLE BUGS SEE ALSO INTERNALS ******************************************************************************/ { # warning Implement mblen() properly AROS_FUNCTION_NOT_IMPLEMENTED("arosc"); return strlen(s); }
int fchown( /* SYNOPSIS */ int fd, uid_t owner, gid_t group) /* FUNCTION INPUTS RESULT NOTES Not implemented. EXAMPLE BUGS SEE ALSO INTERNALS ******************************************************************************/ { # warning Implement fchown() AROS_FUNCTION_NOT_IMPLEMENTED("arosc"); return 0; }
int setgid( /* SYNOPSIS */ gid_t gid) /* FUNCTION INPUTS RESULT NOTES EXAMPLE BUGS SEE ALSO INTERNALS ******************************************************************************/ { # warning Implement setgid() AROS_FUNCTION_NOT_IMPLEMENTED("arosc"); return 0; } /* setgid() */
struct passwd *getpwnam( /* SYNOPSIS */ const char *name) /* FUNCTION INPUTS RESULT NOTES Not implemented. EXAMPLE BUGS SEE ALSO INTERNALS ******************************************************************************/ { # warning Implement getpwnam() AROS_FUNCTION_NOT_IMPLEMENTED("arosc"); return NULL; }
int sigaction ( /* SYNOPSIS */ int signum, const struct sigaction *act, struct sigaction *oldact) /* FUNCTION INPUTS RESULT NOTES Not implemented. EXAMPLE BUGS SEE ALSO INTERNALS ******************************************************************************/ { /* TODO: Implement sigaction() */ AROS_FUNCTION_NOT_IMPLEMENTED("posixc"); errno = ENOSYS; return -1; } /* sigaction */
int sigpending ( /* SYNOPSIS */ sigset_t *set) /* FUNCTION INPUTS RESULT NOTES Not implemented. EXAMPLE BUGS SEE ALSO INTERNALS ******************************************************************************/ { /* TODO: Implement sigpending() */ AROS_FUNCTION_NOT_IMPLEMENTED("posixc"); errno = ENOSYS; return -1; } /* sigpending */
int sigsuspend ( /* SYNOPSIS */ const sigset_t *mask) /* FUNCTION replace the callers signal mask, and suspend it until it signaled to terminate, or to invoke a signal handler. If the signal terminates the process, sigsuspend() doesn't return. If the signal is caught, sigsuspend() returns following the signal handler, and the signal mask is restored to the state prior to calling sigsuspend(). SIGKILL or SIGSTOP cannot be blocked; specifying them in the mask has no effect on the process's signal mask. INPUTS RESULT always returns -1, normally with the error EINTR. NOTES Not implemented. Normally used in conjunction with sigprocmask(), to prevent signal delivery during critical code sections. Callers must block the signals with sigprocmask(). On completion, the caller waits for signals by calling sigsuspend() with the return value of sigprocmask() EXAMPLE BUGS SEE ALSO kill(), pause(), sigaction(), signal(), sigprocmask(), sigwaitinfo(), sigsetops(), sigwait() INTERNALS POSIX.1-2001 ******************************************************************************/ { /* TODO: Implement sigsuspend() */ AROS_FUNCTION_NOT_IMPLEMENTED("posixc"); errno = ENOSYS; return -1; } /* sigsuspend */