[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

utime()



>Proposal: let's define a new opcode for Fcntl that basically implements
>the POSIX utime() function. Advantages: no need for changes in the kernel.

The behavior of Fcntl can't be changed without changing the kernel.

>The library implementation for utime() could then do something like that:
>
>- setup the utimbuf struct
>- if (MiNT_is_running): try the new Fcntl (check return for EINVFN)
>- otherwise use Fdatime().

Yes, it should do that...but it will need kernel support (which may
already exist as far as I know).

cheers,
entropy