2
Copyright (C) 2008- The University of Notre Dame
3
This software is distributed under the GNU General Public License.
4
See the file COPYING for details.
7
#include "parrot_client.h"
15
int main( int argc, char *argv[] )
27
if(argc>2 || path[0]=='-') {
28
printf("use: parrot_whoami [path]\n");
32
result = parrot_whoami(path,buf,sizeof(buf));
38
if(errno==ENOSYS || errno==EINVAL) {
39
fprintf(stderr,"whoami: This filesystem doesn't report your subject name\n");
41
fprintf(stderr,"whoami: %s\n",strerror(errno));