Index: uspace/lib/posix/Makefile
===================================================================
--- uspace/lib/posix/Makefile	(revision da084d96ab8fdfbf67a3a1de0826a96cb2f0295d)
+++ uspace/lib/posix/Makefile	(revision 823a9290ea2b71a1be3c5be4350f38707cd376f7)
@@ -41,4 +41,5 @@
 	ctype.c \
 	fcntl.c \
+	math.c \
 	stdio.c \
 	stdlib.c \
@@ -47,4 +48,5 @@
 	strings.c \
 	sys/stat.c \
+	sys/wait.c \
 	time.c \
 	unistd.c
Index: uspace/lib/posix/math.c
===================================================================
--- uspace/lib/posix/math.c	(revision 823a9290ea2b71a1be3c5be4350f38707cd376f7)
+++ uspace/lib/posix/math.c	(revision 823a9290ea2b71a1be3c5be4350f38707cd376f7)
@@ -0,0 +1,65 @@
+/*
+ * Copyright (c) 2011 Petr Koupy
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ *
+ * - Redistributions of source code must retain the above copyright
+ *   notice, this list of conditions and the following disclaimer.
+ * - Redistributions in binary form must reproduce the above copyright
+ *   notice, this list of conditions and the following disclaimer in the
+ *   documentation and/or other materials provided with the distribution.
+ * - The name of the author may not be used to endorse or promote products
+ *   derived from this software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
+ * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
+ * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
+ * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
+ * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
+ * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+ * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
+ * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/** @addtogroup libposix
+ * @{
+ */
+/** @file
+ */
+
+#define LIBPOSIX_INTERNAL
+
+#include "internal/common.h"
+#include "math.h"
+
+/**
+ * 
+ * @param x
+ * @param exp
+ * @return
+ */
+double posix_ldexp(double x, int exp)
+{
+	// TODO: low priority, just a compile-time dependency of binutils
+	not_implemented();
+}
+
+/**
+ * 
+ * @param num
+ * @param exp
+ * @return
+ */
+double posix_frexp(double num, int *exp)
+{
+	// TODO: low priority, just a compile-time dependency of binutils
+	not_implemented();
+}
+
+/** @}
+ */
Index: uspace/lib/posix/math.h
===================================================================
--- uspace/lib/posix/math.h	(revision da084d96ab8fdfbf67a3a1de0826a96cb2f0295d)
+++ uspace/lib/posix/math.h	(revision 823a9290ea2b71a1be3c5be4350f38707cd376f7)
@@ -36,5 +36,12 @@
 #define POSIX_MATH_H_
 
-/* Empty. Just to satisfy preprocessor. */
+/* Normalization Functions */
+extern double posix_ldexp(double x, int exp);
+extern double posix_frexp(double num, int *exp);
+
+#ifndef LIBPOSIX_INTERNAL
+	#define ldexp posix_ldexp
+	#define frexp posix_frexp
+#endif
 
 #endif /* POSIX_MATH_H_ */
Index: uspace/lib/posix/signal.h
===================================================================
--- uspace/lib/posix/signal.h	(revision da084d96ab8fdfbf67a3a1de0826a96cb2f0295d)
+++ uspace/lib/posix/signal.h	(revision 823a9290ea2b71a1be3c5be4350f38707cd376f7)
@@ -56,4 +56,5 @@
 #define signal(sig,func) (errno = ENOTSUP, SIG_ERR)
 #define raise(sig) ((int) -1)
+#define kill(pid,sig) (errno = ENOTSUP, (int) -1)
 
 typedef int posix_sig_atomic_t;
Index: uspace/lib/posix/stdio.c
===================================================================
--- uspace/lib/posix/stdio.c	(revision da084d96ab8fdfbf67a3a1de0826a96cb2f0295d)
+++ uspace/lib/posix/stdio.c	(revision 823a9290ea2b71a1be3c5be4350f38707cd376f7)
@@ -167,4 +167,17 @@
  * @return
  */
+int posix_vsprintf(char *s, const char *format, va_list ap)
+{
+	// TODO: low priority, just a compile-time dependency of binutils
+	not_implemented();
+}
+
+/**
+ * 
+ * @param s
+ * @param format
+ * @param ...
+ * @return
+ */
 int posix_sscanf(const char *s, const char *format, ...)
 {
@@ -173,4 +186,26 @@
 }
 
+/**
+ *
+ * @param path
+ * @return
+ */
+int posix_remove(const char *path)
+{
+	// TODO: low priority, just a compile-time dependency of binutils
+	not_implemented();
+}
+
+/**
+ * 
+ * @param s
+ * @return
+ */
+char *posix_tmpnam(char *s)
+{
+	// TODO: low priority, just a compile-time dependency of binutils
+	not_implemented();
+}
+
 /** @}
  */
Index: uspace/lib/posix/stdio.h
===================================================================
--- uspace/lib/posix/stdio.h	(revision da084d96ab8fdfbf67a3a1de0826a96cb2f0295d)
+++ uspace/lib/posix/stdio.h	(revision 823a9290ea2b71a1be3c5be4350f38707cd376f7)
@@ -39,4 +39,5 @@
 #include "libc/stdio.h"
 #include "sys/types.h"
+#include "libc/stdarg.h"
 
 /* Character Input/Output */
@@ -60,5 +61,12 @@
 /* Formatted Input/Output */
 extern int posix_sprintf(char *restrict s, const char *restrict format, ...);
+extern int posix_vsprintf(char *restrict s, const char *restrict format, va_list ap);
 extern int posix_sscanf(const char *restrict s, const char *restrict format, ...);
+
+/* Deleting Files */
+extern int posix_remove(const char *path);
+
+/* Temporary Files */
+extern char *posix_tmpnam(char *s);
 
 #ifndef LIBPOSIX_INTERNAL
@@ -73,5 +81,10 @@
 
 	#define sprintf posix_sprintf
+	#define vsprintf posix_vsprintf
 	#define sscanf posix_sscanf
+
+	#define remove posix_remove
+
+	#define tmpnam posix_tmpnam
 #endif
 
Index: uspace/lib/posix/stdlib.c
===================================================================
--- uspace/lib/posix/stdlib.c	(revision da084d96ab8fdfbf67a3a1de0826a96cb2f0295d)
+++ uspace/lib/posix/stdlib.c	(revision 823a9290ea2b71a1be3c5be4350f38707cd376f7)
@@ -40,5 +40,5 @@
 
 /**
- *
+ * 
  * @param array
  * @param count
@@ -46,4 +46,30 @@
  * @param compare
  */
+int posix_atexit(void (*func)(void))
+{
+	// TODO: low priority, just a compile-time dependency of binutils
+	not_implemented();
+}
+
+/**
+ * 
+ * @param array
+ * @param count
+ * @param size
+ * @param compare
+ */
+int posix_abs(int i)
+{
+	// TODO
+	not_implemented();
+}
+
+/**
+ *
+ * @param array
+ * @param count
+ * @param size
+ * @param compare
+ */
 void posix_qsort(void *array, size_t count, size_t size,
     int (*compare)(const void *, const void *))
@@ -70,4 +96,16 @@
  * @return
  */
+int posix_putenv(char *string)
+{
+	// TODO: low priority, just a compile-time dependency of binutils
+	not_implemented();
+}
+
+/**
+ * 
+ * @param name
+ * @param resolved
+ * @return
+ */
 char *posix_realpath(const char *name, char *resolved)
 {
@@ -113,4 +151,56 @@
 }
 
+/**
+ *
+ * @param size
+ * @return
+ */
+void *posix_malloc(size_t size)
+{
+	return malloc(size);
+}
+
+/**
+ *
+ * @param nelem
+ * @param elsize
+ * @return
+ */
+void *posix_calloc(size_t nelem, size_t elsize)
+{
+	return calloc(nelem, elsize);
+}
+
+/**
+ *
+ * @param ptr
+ * @param size
+ * @return
+ */
+void *posix_realloc(void *ptr, size_t size)
+{
+	return realloc(ptr, size);
+}
+
+/**
+ *
+ * @param ptr
+ */
+void posix_free(void *ptr)
+{
+	free(ptr);
+}
+
+/**
+ * 
+ * @param tmpl
+ * @return
+ */
+char *posix_mktemp(char *tmpl)
+{
+	// TODO: low priority, just a compile-time dependency of binutils
+	not_implemented();
+}
+
 /** @}
  */
Index: uspace/lib/posix/stdlib.h
===================================================================
--- uspace/lib/posix/stdlib.h	(revision da084d96ab8fdfbf67a3a1de0826a96cb2f0295d)
+++ uspace/lib/posix/stdlib.h	(revision 823a9290ea2b71a1be3c5be4350f38707cd376f7)
@@ -49,4 +49,8 @@
 #define EXIT_SUCCESS 0
 #define _Exit exit
+extern int posix_atexit(void (*func)(void));
+
+/* Absolute Value */
+extern int posix_abs(int i);
 
 /* Array Sort Function */
@@ -56,4 +60,5 @@
 /* Environment Access */
 extern char *posix_getenv(const char *name);
+extern int posix_putenv(char *string);
 
 /* Symbolic Links */
@@ -68,7 +73,22 @@
 extern int posix_atoi(const char *str);
 
+/* Memory Allocation */
+extern void *posix_malloc(size_t size);
+extern void *posix_calloc(size_t nelem, size_t elsize);
+extern void *posix_realloc(void *ptr, size_t size);
+extern void posix_free(void *ptr);
+
+/* Legacy Declarations */
+extern char *posix_mktemp(char *tmpl);
+
 #ifndef LIBPOSIX_INTERNAL
+	#define atexit posix_atexit
+
+	#define abs posix_abs
+
 	#define qsort posix_qsort
+
 	#define getenv posix_getenv
+
 	#define realpath posix_realpath
 	
@@ -78,4 +98,11 @@
 	
 	#define atoi posix_atoi
+
+	#define malloc posix_malloc
+	#define calloc posix_calloc
+	#define realloc posix_realloc
+	#define free posix_free
+
+	#define mktemp posix_mktemp
 #endif
 
Index: uspace/lib/posix/sys/wait.c
===================================================================
--- uspace/lib/posix/sys/wait.c	(revision 823a9290ea2b71a1be3c5be4350f38707cd376f7)
+++ uspace/lib/posix/sys/wait.c	(revision 823a9290ea2b71a1be3c5be4350f38707cd376f7)
@@ -0,0 +1,54 @@
+/*
+ * Copyright (c) 2011 Petr Koupy
+ * Copyright (c) 2011 Jiri Zarevucky
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ *
+ * - Redistributions of source code must retain the above copyright
+ *   notice, this list of conditions and the following disclaimer.
+ * - Redistributions in binary form must reproduce the above copyright
+ *   notice, this list of conditions and the following disclaimer in the
+ *   documentation and/or other materials provided with the distribution.
+ * - The name of the author may not be used to endorse or promote products
+ *   derived from this software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
+ * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
+ * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
+ * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
+ * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
+ * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+ * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
+ * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/** @addtogroup libposix
+ * @{
+ */
+/** @file
+ */
+
+#define LIBPOSIX_INTERNAL
+
+#include "../internal/common.h"
+#include "wait.h"
+
+/**
+ * 
+ * @param stat_ptr
+ * @return
+ */
+posix_pid_t posix_wait(int *stat_ptr)
+{
+	// TODO: low priority, just a compile-time dependency of binutils
+	not_implemented();
+}
+
+/** @}
+ */
+
Index: uspace/lib/posix/sys/wait.h
===================================================================
--- uspace/lib/posix/sys/wait.h	(revision 823a9290ea2b71a1be3c5be4350f38707cd376f7)
+++ uspace/lib/posix/sys/wait.h	(revision 823a9290ea2b71a1be3c5be4350f38707cd376f7)
@@ -0,0 +1,49 @@
+/*
+ * Copyright (c) 2011 Petr Koupy
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ *
+ * - Redistributions of source code must retain the above copyright
+ *   notice, this list of conditions and the following disclaimer.
+ * - Redistributions in binary form must reproduce the above copyright
+ *   notice, this list of conditions and the following disclaimer in the
+ *   documentation and/or other materials provided with the distribution.
+ * - The name of the author may not be used to endorse or promote products
+ *   derived from this software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
+ * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
+ * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
+ * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
+ * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
+ * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+ * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
+ * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/** @addtogroup libposix
+ * @{
+ */
+/** @file
+ */
+
+#ifndef POSIX_SYS_WAIT_H_
+#define POSIX_SYS_WAIT_H_
+
+#include "types.h"
+
+extern posix_pid_t posix_wait(int *stat_ptr);
+
+#ifndef LIBPOSIX_INTERNAL
+	#define wait posix_wait
+#endif
+
+#endif /* POSIX_SYS_WAIT_H_ */
+
+/** @}
+ */
Index: uspace/lib/posix/time.c
===================================================================
--- uspace/lib/posix/time.c	(revision da084d96ab8fdfbf67a3a1de0826a96cb2f0295d)
+++ uspace/lib/posix/time.c	(revision 823a9290ea2b71a1be3c5be4350f38707cd376f7)
@@ -87,4 +87,14 @@
 }
 
+/**
+ * 
+ * @return
+ */
+posix_clock_t posix_clock(void)
+{
+	// TODO
+	not_implemented();
+}
+
 /** @}
  */
Index: uspace/lib/posix/time.h
===================================================================
--- uspace/lib/posix/time.h	(revision da084d96ab8fdfbf67a3a1de0826a96cb2f0295d)
+++ uspace/lib/posix/time.h	(revision 823a9290ea2b71a1be3c5be4350f38707cd376f7)
@@ -55,4 +55,6 @@
 };
 
+typedef long posix_clock_t;
+
 /* Broken-down Time */
 extern struct posix_tm *posix_localtime(const time_t *timep);
@@ -63,6 +65,11 @@
 extern size_t posix_strftime(char *restrict s, size_t maxsize, const char *restrict format, const struct posix_tm *restrict tm);
 
+/* CPU Time */
+extern posix_clock_t posix_clock(void);
+
 #ifndef LIBPOSIX_INTERNAL
 	#define tm posix_tm
+
+	#define clock_t posix_clock_t
 
 	#define localtime posix_localtime
@@ -71,4 +78,6 @@
 	#define ctime posix_ctime
 	#define strftime posix_strftime
+
+	#define clock posix_clock
 #endif
 
Index: uspace/lib/posix/unistd.c
===================================================================
--- uspace/lib/posix/unistd.c	(revision da084d96ab8fdfbf67a3a1de0826a96cb2f0295d)
+++ uspace/lib/posix/unistd.c	(revision 823a9290ea2b71a1be3c5be4350f38707cd376f7)
@@ -38,4 +38,5 @@
 #include "internal/common.h"
 #include "unistd.h"
+#include <task.h>
 
 /* Array of environment variable strings (NAME=VALUE). */
@@ -61,4 +62,13 @@
 {
 	return getpagesize();
+}
+
+/**
+ * 
+ * @return
+ */
+posix_pid_t posix_getpid(void)
+{
+	return task_get_id();
 }
 
@@ -106,4 +116,61 @@
 }
 
+/**
+ * 
+ * @param path
+ * @param name
+ * @return
+ */
+long posix_pathconf(const char *path, int name)
+{
+	// TODO: low priority, just a compile-time dependency of binutils
+	not_implemented();
+}
+
+/**
+ * 
+ * @return
+ */
+posix_pid_t posix_fork(void)
+{
+	// TODO: low priority, just a compile-time dependency of binutils
+	not_implemented();
+}
+
+/**
+ * 
+ * @param path
+ * @param argv
+ * @return
+ */
+int posix_execv(const char *path, char *const argv[])
+{
+	// TODO: low priority, just a compile-time dependency of binutils
+	not_implemented();
+}
+
+/**
+ * 
+ * @param file
+ * @param argv
+ * @return
+ */
+int posix_execvp(const char *file, char *const argv[])
+{
+	// TODO: low priority, just a compile-time dependency of binutils
+	not_implemented();
+}
+
+/**
+ * 
+ * @param fildes
+ * @return
+ */
+int posix_pipe(int fildes[2])
+{
+	// TODO: low priority, just a compile-time dependency of binutils
+	not_implemented();
+}
+
 /** @}
  */
Index: uspace/lib/posix/unistd.h
===================================================================
--- uspace/lib/posix/unistd.h	(revision da084d96ab8fdfbf67a3a1de0826a96cb2f0295d)
+++ uspace/lib/posix/unistd.h	(revision 823a9290ea2b71a1be3c5be4350f38707cd376f7)
@@ -58,5 +58,5 @@
 
 /* Process Identification */
-#define getpid task_get_id
+extern posix_pid_t posix_getpid(void);
 extern posix_uid_t posix_getuid(void);
 extern posix_gid_t posix_getgid(void);
@@ -112,4 +112,15 @@
 	_PC_VDISABLE
 };
+extern long posix_pathconf(const char *path, int name);
+
+/* Creating a Process */
+extern posix_pid_t posix_fork(void);
+
+/* Executing a File */
+extern int posix_execv(const char *path, char *const argv[]);
+extern int posix_execvp(const char *file, char *const argv[]);
+
+/* Creating a Pipe */
+extern int posix_pipe(int fildes[2]);
 
 #ifndef LIBPOSIX_INTERNAL
@@ -121,4 +132,5 @@
 	#define getpagesize posix_getpagesize
 
+	#define getpid posix_getpid
 	#define getuid posix_getuid
 	#define getgid posix_getgid
@@ -127,4 +139,13 @@
 
 	#define sysconf posix_sysconf
+
+	#define pathconf posix_pathconf
+
+	#define fork posix_fork
+
+	#define execv posix_execv
+	#define execvp posix_execvp
+
+	#define pipe posix_pipe
 #endif
 
