Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/posix/sys/stat.h

    reca52a8 re7f7c93  
    4040#include "types.h"
    4141#include "../time.h"
     42#include <ipc/devmap.h>
     43#include <task.h>
     44
     45typedef devmap_handle_t posix_dev_t;
     46typedef task_id_t posix_pid_t;
    4247
    4348/* values are the same as on Linux */
     
    110115
    111116struct posix_stat {
     117        struct stat sys_stat;
     118
    112119        posix_dev_t     st_dev;     /* ID of device containing file */
    113120        posix_ino_t     st_ino;     /* inode number */
     
    132139
    133140#ifndef LIBPOSIX_INTERNAL
     141        #define dev_t posix_dev_t
     142        #define pid_t posix_pid_t
    134143        #define fstat posix_fstat
    135144        #define lstat posix_lstat
Note: See TracChangeset for help on using the changeset viewer.