Exemple #1
0
void mu_load_file()    /* c-string-name */
{
    int fd;

    mu_push_r_slash_o();
    mu_open_file();
    fd = TOP;
    mu_mmap_file();
    PUSH(XTK(mu_evaluate));
    mu_catch();
    close(fd);
    mu_throw();
}
Exemple #2
0
void mu_open_file_rw()
{
    PUSH(O_RDWR);
    mu_open_file();
}
Exemple #3
0
void mu_open_file_ro()
{
    PUSH(O_RDONLY);
    mu_open_file();
}
Exemple #4
0
void mu_open_file_ro_nonblocking()
{
    PUSH(O_RDONLY | O_NONBLOCK);
    mu_open_file();
}
Exemple #5
0
void mu_open_file_wo()
{
    PUSH(O_WRONLY);
    mu_open_file();
}