1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 2<html xml:lang="en-US" lang="en-US" xmlns="http://www.w3.org/1999/xhtml"> 3 <head> 4 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 5 <meta http-equiv="Content-Style-Type" content="text/css" /> 6 <link rel="stylesheet" href="../../../css/manpage.css" type="text/css" /> 7<title>GetCurrentDirectory</title> 8 </head> 9 <body> 10<h1><CODE><a href="../../../nn/Overview.html">nn</a>::<a href="../../../nn/hio/Overview.html">hio</a>::<a href="../../../nn/hio/CTR/Overview.html">CTR</a>::GetCurrentDirectory</CODE> Function</h1> 11<h2>Syntax</h2> 12 <div class="section"> 13 <pre class="definition"> 14<a href="../../../nn/Result/Overview.html">Result</a> GetCurrentDirectory( 15 s32 * pLength, 16 char *buf, 17 s32 length 18); 19<a href="../../../nn/Result/Overview.html">Result</a> GetCurrentDirectory( 20 s32 * pLength, 21 wchar_t * buf, 22 s32 length 23); 24s32 GetCurrentDirectory( 25 char *buf, 26 s32 length 27); 28s32 GetCurrentDirectory( 29 wchar_t * buf, 30 s32 length 31); 32</pre> 33 </div> 34<h2>List of Overloaded Member Functions</h2> 35 <div class="section"> 36 <table class="members"> 37 <tr> 38 <td> 39<a href="./GetCurrentDirectory(0).html"><CODE>GetCurrentDirectory(s32 *, char *, s32)</CODE> </a> 40 </td> 41<td>Gets the current directory and returns the result of the process.</td> 42 </tr> 43 <tr> 44 <td> 45<a href="./GetCurrentDirectory(1).html"><CODE>GetCurrentDirectory(s32 *, wchar_t *, s32)</CODE> </a> 46 </td> 47<td>Gets the current directory and returns the result of the process. This is the overloaded function when the path is gotten in Unicode.</td> 48 </tr> 49 <tr> 50 <td> 51<a href="./GetCurrentDirectory(2).html"><CODE>GetCurrentDirectory(char *, s32)</CODE> </a> 52 </td> 53<td>Gets the current directory and returns the size stored to the buffer.</td> 54 </tr> 55 <tr> 56 <td> 57<a href="./GetCurrentDirectory(3).html"><CODE>GetCurrentDirectory(wchar_t *, s32)</CODE> </a> 58 </td> 59<td>Gets the current directory and returns the size stored to the buffer. This is the overloaded function when the path is gotten in Unicode.</td> 60 </tr> </table> 61 </div> 62<h2>Description of <CODE>GetCurrentDirectory(s32 *, char *, s32)</CODE></h2> 63<div class="section"><p>Writes the path of the current directory to <B>buf</B>.</p><!-- write here --></div> 64<h2>Description of <CODE>GetCurrentDirectory(s32 *, wchar_t *, s32)</CODE></h2> 65<div class="section"><p>Writes the path of the current directory to <B>buf</B>.<br />This is the overloaded function when the path is gotten in Unicode.</p><!-- write here --></div> 66<h2>Description of <CODE>GetCurrentDirectory(char *, s32)</CODE></h2> 67<div class="section"><p>Writes the path of the current directory to <B>buf</B> and returns its size.</p><!-- write here --></div> 68<h2>Description of <CODE>GetCurrentDirectory(wchar_t *, s32)</CODE></h2> 69<div class="section"><p>Writes the path of the current directory to <B>buf</B> and returns its size.<br />This is the overloaded function when the path is gotten in Unicode.</p><!-- write here --></div> 70 <hr><p>CONFIDENTIAL</p></body> 71</html> 72