transparentes Filesplitting
Jan-Benedict Glaw
jbglaw at lug-owl.de
Tue Mar 2 15:23:52 CET 2004
On Tue, 2004-03-02 14:46:58 +0100, Jan-Benedict Glaw <jbglaw at lug-owl.de>
wrote in message <20040302134657.GB21482 at lug-owl.de>:
> On Tue, 2004-03-02 14:36:02 +0100, root at linuxbu.de <root at linuxbu.de>
> wrote in message <5301989$107823429040448cb22ec388.72710716 at config22.schlund.de>:
> Einziger Haken: open() kann zwei oder drei Argumente übergeben bekommen.
> Ich hab' noch nicht 'rausfinden können, wie man dazwischen unterscheiden
> kann :(
*plonk* Ganz simpel. Man gucke in fcntl.h nach:
/* Open FILE and return a new file descriptor for it, or -1 on error.
OFLAG determines the type of access used. If O_CREAT is on OFLAG,
the third argument is taken as a `mode_t', the mode of the created file.
This function is a cancellation point and therefore not marked with
__THROW. */
MfG, JBG
--
Jan-Benedict Glaw jbglaw at lug-owl.de . +49-172-7608481
"Eine Freie Meinung in einem Freien Kopf | Gegen Zensur | Gegen Krieg
fuer einen Freien Staat voll Freier Bürger" | im Internet! | im Irak!
ret = do_actions((curr | FREE_SPEECH) & ~(NEW_COPYRIGHT_LAW | DRM | TCPA));
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lug-owl.de/pipermail/linux/attachments/20040302/4192c8b4/attachment.sig>
More information about the Linux
mailing list