Index: uspace/lib/posix/stdlib.h
===================================================================
--- uspace/lib/posix/stdlib.h	(revision 2b83add11c5bcd828a9b4eca961890f4cbac0c38)
+++ uspace/lib/posix/stdlib.h	(revision e3891262fb73ff8c937e92fe4eaab29f686d997d)
@@ -56,11 +56,35 @@
 extern long long posix_llabs(long long i);
 
-/* Array Sort Function */
+/* Integer division */
+
+typedef struct {
+	int quot, rem;
+} posix_div_t;
+
+typedef struct {
+	long quot, rem;
+} posix_ldiv_t;
+
+typedef struct {
+	long long quot, rem;
+} posix_lldiv_t;
+
+extern posix_div_t posix_div(int numer, int denom);
+extern posix_ldiv_t posix_ldiv(long numer, long denom);
+extern posix_lldiv_t posix_lldiv(long long numer, long long denom);
+
+/* Array Functions */
 extern void posix_qsort(void *array, size_t count, size_t size,
     int (*compare)(const void *, const void *));
+extern void *posix_bsearch(const void *key, const void *base,
+    size_t nmemb, size_t size, int (*compar)(const void *, const void *));
+
 
 /* Environment Access */
 extern char *posix_getenv(const char *name);
 extern int posix_putenv(char *string);
+
+extern int posix_system(const char *string);
+
 
 /* Symbolic Links */
@@ -104,8 +128,17 @@
 	#define llabs posix_llabs
 
+	#define div_t posix_div_t
+	#define ldiv_t posix_ldiv_t
+	#define lldiv_t posix_lldiv_t
+	#define div posix_div
+	#define ldiv posix_ldiv
+	#define lldiv posix_lldiv
+
 	#define qsort posix_qsort
+	#define bsearch posix_bsearch
 
 	#define getenv posix_getenv
 	#define putenv posix_putenv
+	#define system posix_system
 
 	#define realpath posix_realpath
