whoami: Remove OpenB*OS version
* Was replaced by coreutils whoami, and options are the same.
This commit is contained in:
@@ -55,7 +55,6 @@ StdBinCommands
|
|||||||
unchop.c
|
unchop.c
|
||||||
uptime.cpp
|
uptime.cpp
|
||||||
vmstat.cpp
|
vmstat.cpp
|
||||||
# whoami.c
|
|
||||||
: : $(haiku-utils_rsrc) ;
|
: : $(haiku-utils_rsrc) ;
|
||||||
|
|
||||||
# Commands which don't need another library that depend on
|
# Commands which don't need another library that depend on
|
||||||
|
|||||||
@@ -1,21 +0,0 @@
|
|||||||
// ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
|
|
||||||
//
|
|
||||||
// Copyright (c) 2002, OpenBeOS
|
|
||||||
//
|
|
||||||
// This software is part of the OpenBeOS distribution and is covered
|
|
||||||
// by the OpenBeOS license.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// File: whoami.c
|
|
||||||
// Author: Sandor Vroemisse ([email protected])
|
|
||||||
// Description: standard Unix whoami command
|
|
||||||
//
|
|
||||||
// ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
|
|
||||||
|
|
||||||
#include <stdio.h>
|
|
||||||
#include <unistd.h>
|
|
||||||
|
|
||||||
int main( int argc, char ** argv ) {
|
|
||||||
printf( "%s\n", getlogin() );
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
Reference in New Issue
Block a user