Changeset 622cdbe in mainline for uspace/lib/libc/include/loader


Ignore:
Timestamp:
2009-10-15T17:45:16Z (16 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
d8ef374
Parents:
81342f7
Message:

Inherit the current working directory from the spawner to the spawnee task.

Location:
uspace/lib/libc/include/loader
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/libc/include/loader/loader.h

    r81342f7 r622cdbe  
    4949extern loader_t *loader_connect(void);
    5050extern int loader_get_task_id(loader_t *, task_id_t *);
     51extern int loader_set_cwd(loader_t *);
    5152extern int loader_set_pathname(loader_t *, const char *);
    5253extern int loader_set_args(loader_t *, char *const[]);
  • uspace/lib/libc/include/loader/pcb.h

    r81342f7 r622cdbe  
    5252        /** Program entry point. */
    5353        entry_point_t entry;
     54
     55        /** Current working directory. */
     56        char *cwd;
    5457       
    5558        /** Number of command-line arguments. */
Note: See TracChangeset for help on using the changeset viewer.