[openbeos] struct stat st_mode bits
- From: "François Revol" <revol@xxxxxxx>
- To: openbeos@xxxxxxxxxxxxx
- Date: Tue, 30 Nov 2004 07:57:40 +0100 CET
I was going through stat.h earlier, and I was wondering if anyone had
any idea on what S_ALLOW_DUPS was supposed to be ?
doesn't seem to be used anywhere.
Maybe we could use that bit for something useful, like Hurd's
S_INOCACHE.
(maybe a flag for open() would be more appropriate though.
cf.
http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/sysdeps/mach/hurd/
bits/stat.h?rev=1.6&content-type=text/x-cvsweb-markup&cvsroot=glibc
Also I'd reconsider using S_FOO_INDEX in favor of S_INDEX, since it's
not very scalable... we have only 2 bits left in that field.
François.
- Follow-Ups:
- [openbeos] Re: struct stat st_mode bits
- From: Axel Dörfler
Other related posts:
- » [openbeos] struct stat st_mode bits
- » [openbeos] Re: struct stat st_mode bits
- » [openbeos] Re: struct stat st_mode bits
- » [openbeos] Re: struct stat st_mode bits
- » [openbeos] Re: struct stat st_mode bits
- » [openbeos] Re: struct stat st_mode bits
- » [openbeos] Re: struct stat st_mode bits
- » [openbeos] Re: struct stat st_mode bits
- [openbeos] Re: struct stat st_mode bits
- From: Axel Dörfler