Index: uspace/app/bdsh/cmds/modules/printf/printf.c
===================================================================
--- uspace/app/bdsh/cmds/modules/printf/printf.c	(revision 8e81a7e7c90bf5c6edf79d8274c286b8cc0c95fa)
+++ uspace/app/bdsh/cmds/modules/printf/printf.c	(revision 087c27f6d4d7fec59e07be7cae6ab6f889afa86b)
@@ -58,5 +58,14 @@
 }
 
-
+/** Print a formatted data with lib printf.
+ * 
+ * Currently available format flags are:
+ * '%d' - integer.
+ * '%u' - unsigned integer.
+ * '%s' - null-terminated string.
+ ***** 
+ * @param ch  formatted flag.
+ * @param arg string with data to print.
+ */
 static int print_arg(wchar_t ch, const char* arg)
 {
@@ -77,5 +86,12 @@
 }
 
-static int process_esc(wchar_t ch)
+/** Process a control character.
+ * 
+ * Currently available characters are:
+ * '\n' - new line.
+ ***** 
+ * @param ch  Control character.
+ */
+static int process_ctl(wchar_t ch)
 {
 	switch(ch) {
@@ -90,5 +106,6 @@
 
 
-/* Prints formatted data. 
+/** Prints formatted data. 
+ *
  * Accepted format flags:
  * %d - print an integer
@@ -148,5 +165,5 @@
 		default:
 			if (esc_flag) {
-				process_esc(ch);
+				process_ctl(ch);
 				esc_flag = false;
 				break;
