Am Dienstag, 19. September 2006 16:14 schrieb Marc Santhoff:
> [...]
> > h2pas -E
> >
> > does translate enum's to constants.
>
> No, in fact it is
>
> h2pas -e
>
> but it works.
>
> Sorry for confusion,
> Marc
I will try to mount a device with a direct systemcall.
In my view it is the best way
Am Dienstag, den 19.09.2006, 16:10 +0200 schrieb Marc Santhoff:
> Am Dienstag, den 19.09.2006, 15:11 +0200 schrieb Jonas Maebe:
> > enum
> > {
> >MS_RDONLY = 1,/* Mount read-only. */
> > #define MS_RDONLY MS_RDONLY
> >MS_NOSUID = 2,/* Ignore suid and s
Am Dienstag, den 19.09.2006, 15:11 +0200 schrieb Jonas Maebe:
> enum
> {
>MS_RDONLY = 1,/* Mount read-only. */
> #define MS_RDONLY MS_RDONLY
>MS_NOSUID = 2,/* Ignore suid and sgid bits. */
> #define MS_NOSUID MS_NOSUID
> etc.
>
> So that become
On 19 sep 2006, at 15:11, Rainer Stratmann wrote:
Second question is how to mount and umount for example "/dev/sda1"
in a fpc
program.
Generic solution to this sort of problem:
a) look up how it has to be done in C
b) if it's a "standard" C function, just translate the prototype to
Pascal
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:fpc-pascal-
> [EMAIL PROTECTED] On Behalf Of Rainer Stratmann
> Sent: Tuesday, September 19, 2006 9:12 AM
> To: FPC-Pascal users discussions
> Subject: [fpc-pascal] Linux Questions
> does someone know how to lock the console output in