2 * whoami - print out username of current user
10 #include "bashgetopt.h"
17 reset_internal_getopt ();
18 while ((opt = internal_getopt (list, "")) != -1)
34 if (current_user.user_name == 0)
35 get_current_user_info ();
36 printf ("%s\n", current_user.user_name);
37 return (EXECUTION_SUCCESS);
40 char *whoami_doc[] = {
41 "display name of current user",
45 struct builtin whoami_struct = {