Пример #1
0
	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);
}
Пример #2
0
	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;
}
Пример #3
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() */
Пример #4
0
	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;
}
Пример #5
0
	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 */
Пример #6
0
	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 */
Пример #7
0
	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 */