com32 pwd module
commite9654e598bab36d0c5218163263baf4105db5ae0
authorGene Cumm <gene.cumm@gmail.com>
Sat, 26 Jun 2010 14:59:46 +0000 (26 10:59 -0400)
committerH. Peter Anvin <hpa@zytor.com>
Sat, 26 Jun 2010 19:34:07 +0000 (26 12:34 -0700)
treefd3abb34a1fb36811947dc290cecf7476c807358
parent29d560e6bb11bc4a9171e1e70c9f282bf7cb6895
com32 pwd module

[MODULE] pwd to list present (current) working directory.  If the
returned string is empty, display ".".  If the return value is NULL,
display an error message.

Unfortunately, it appears that COM32 getcwd is not working properly at
this moment, it calling the COMBOOT call and getting an empty string.

Signed-off-by: Gene Cumm <gene.cumm@gmail.com>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
com32/modules/pwd.c [new file with mode: 0644]