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     <a href="../../../nn_types/s32.html">s32</a> * pLength,
16     char * buf,
17     <a href="../../../nn_types/s32.html">s32</a> length
18);
19
20<a href="../../../nn/Result/Overview.html">Result</a> GetCurrentDirectory(
21     <a href="../../../nn_types/s32.html">s32</a> * pLength,
22     wchar_t * buf,
23     <a href="../../../nn_types/s32.html">s32</a> length
24);
25
26<a href="../../../nn_types/s32.html">s32</a> GetCurrentDirectory(
27     char * buf,
28     <a href="../../../nn_types/s32.html">s32</a> length
29);
30
31<a href="../../../nn_types/s32.html">s32</a> GetCurrentDirectory(
32     wchar_t * buf,
33     <a href="../../../nn_types/s32.html">s32</a> length
34);
35</pre>
36    </div>
37<h2>List of Overloaded Member Functions</h2>
38    <div class="section">
39      <table class="members">
40        <tr>
41          <td>
42<a href="./GetCurrentDirectory(0).html"><CODE>GetCurrentDirectory(s32 *, char *, s32)</CODE> </a>
43          </td>
44<td>Gets the current directory and returns the result of the process.</td>
45        </tr>
46        <tr>
47          <td>
48<a href="./GetCurrentDirectory(1).html"><CODE>GetCurrentDirectory(s32 *, wchar_t *, s32)</CODE> </a>
49          </td>
50<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>
51        </tr>
52        <tr>
53          <td>
54<a href="./GetCurrentDirectory(2).html"><CODE>GetCurrentDirectory(char *, s32)</CODE> </a>
55          </td>
56<td>Gets the current directory and returns the size stored to the buffer.</td>
57        </tr>
58        <tr>
59          <td>
60<a href="./GetCurrentDirectory(3).html"><CODE>GetCurrentDirectory(wchar_t *, s32)</CODE> </a>
61          </td>
62<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>
63        </tr> </table>
64    </div>
65<h2>Description of <CODE>GetCurrentDirectory(s32 *, char *, s32)</CODE></h2>
66<div class="section"><p>Writes the path of the current directory to <B>buf</B>.</p><!-- write here --></div>
67<h2>Description of <CODE>GetCurrentDirectory(s32 *, wchar_t *, s32)</CODE></h2>
68<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>
69<h2>Description of <CODE>GetCurrentDirectory(char *, s32)</CODE></h2>
70<div class="section"><p>Writes the path of the current directory to <B>buf</B> and returns its size.</p><!-- write here --></div>
71<h2>Description of <CODE>GetCurrentDirectory(wchar_t *, s32)</CODE></h2>
72<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>
73  <hr><p>CONFIDENTIAL</p></body>
74</html>
75