# Adding more system specific calls

**URL:** <https://discourse.glfw.org/t/adding-more-system-specific-calls/434>\
**Category:** support\
**Created:** [July 31, 2007, 4:54am UTC](https://discourse.glfw.org/t/adding-more-system-specific-calls/434 "2007-07-31T04:54:24Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex035/uploads/glfw/original/1X/b8cdefe6b61b8d5aee6c43b2c56e9cf5eabecfe4.svg) [@system](https://discourse.glfw.org/u/system)\
**Post date:** [July 31, 2007, 4:54am UTC](https://discourse.glfw.org/t/adding-more-system-specific-calls/434/1 "2007-07-31T04:54:24Z")

</div>

**nobody** wrote on [Tuesday, July 31, 2007](https://sourceforge.net/p/glfw/discussion/247562/thread/53cac165/#c8eb):

Recently I started using GLFW but the problem I have is being able to add more system calls, specifically those dealing with paths like SetCurrentDirectory and GetCurrentDirectory. Is there a good way to add calls like this to a project without having to add them to GLFW?

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex035/uploads/glfw/original/1X/b8cdefe6b61b8d5aee6c43b2c56e9cf5eabecfe4.svg) [@system](https://discourse.glfw.org/u/system)\
**Post date:** [August 4, 2007, 7:57pm UTC](https://discourse.glfw.org/t/adding-more-system-specific-calls/434/2 "2007-08-04T19:57:51Z")

</div>

**[elmindreda](https://sourceforge.net/u/elmindreda/)** wrote on [Saturday, August 04, 2007](https://sourceforge.net/p/glfw/discussion/247562/thread/53cac165/#7e70):

I’m sorry, but I’m not sure what you mean.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex035/uploads/glfw/original/1X/b8cdefe6b61b8d5aee6c43b2c56e9cf5eabecfe4.svg) [@system](https://discourse.glfw.org/u/system)\
**Post date:** [August 13, 2007, 7:30pm UTC](https://discourse.glfw.org/t/adding-more-system-specific-calls/434/3 "2007-08-13T19:30:10Z")

</div>

**nobody** wrote on [Monday, August 13, 2007](https://sourceforge.net/p/glfw/discussion/247562/thread/53cac165/#c8eb/5dd3):

Use getcwd() and chdir() (in MinGW they’re in direct.h). Works fine in Windows and Linux…

---

<div class="post-metadata">

**Author:** ![dougbinks](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.glfw.org/dougbinks/32/39_2.png) [@dougbinks](https://discourse.glfw.org/u/dougbinks)\
**Post date:** [November 16, 2026, 4:18pm UTC](https://discourse.glfw.org/t/adding-more-system-specific-calls/434/4 "2026-11-16T16:18:21Z")

</div>

Closed on November 16, 2026, 4:18pm UTC


