~martin-decky/helenos/rcu

« back to all changes in this revision

Viewing changes to uspace/lib/c/include/unistd.h

  • Committer: Vojtech Horky
  • Date: 2012-05-23 12:03:26 UTC
  • mfrom: (1443.1.19 misc)
  • mto: This revision was merged to the branch mainline in revision 1479.
  • Revision ID: vojtechhorky@users.sourceforge.net-20120523120326-jv50stjymxmh598s
Merge GSOC-originated patches 

Merge from lp:~vojtech-horky/helenos/misc.

The merge includes:
 * Switching to previous directory with `cd -' in Bdsh
 * Interactive mode for cp module in Bdsh
 * Implementation of sleep command
 * printf and echo for Bdsh
 * Rewrite of the mkdir module
 * Ctrl-arrow jumps over words in the editor
 * The scripts work with Python 3

Show diffs side-by-side

added added

removed removed

Lines of Context:
57
57
 
58
58
#define getpagesize()  (PAGE_SIZE)
59
59
 
60
 
extern int dup2(int oldfd, int newfd);
 
60
extern int dup2(int, int);
61
61
 
62
62
extern ssize_t write(int, const void *, size_t);
63
63
extern ssize_t read(int, void *, size_t);
72
72
extern int fsync(int);
73
73
extern int unlink(const char *);
74
74
 
75
 
extern char *getcwd(char *buf, size_t);
 
75
extern char *getcwd(char *, size_t);
76
76
extern int rmdir(const char *);
77
77
extern int chdir(const char *);
78
78