2 Copyright © 1995-2001, The AROS Development Team. All rights reserved.
6 #include "__arosc_privdata.h"
8 #include <aros/symbolsets.h>
12 #warning FIXME: Implement umask() properly
13 mode_t
umask(mode_t numask
)
15 mode_t oumask
= __umask
;
22 static int __umask_init(void)
24 struct arosc_privdata
*privdata
= __get_arosc_privdata();
26 if (privdata
->acpd_oldprivdata
)
27 privdata
->acpd_umask
= privdata
->acpd_oldprivdata
->acpd_umask
;
29 privdata
->acpd_umask
= S_IWGRP
|S_IWOTH
;
34 ADD2INIT(__umask_init
, 0);