Ruby: internal/dir.h File Reference

Ruby 3.0.5p211 (2022-11-24 revision ba5cf0f7c52d4d35cc6a173c89eda98ceffa2dcf)

Functions
dir.h File Reference

Internal header for Dir. More...

`#include "ruby/ruby.h"`

Go to the source code of this file.

## Functions
VALUE | rb_dir_getwd_ospath (void)

## Detailed Description

Internal header for Dir.

Author
  Ruby developers ruby-.nosp@m.core.nosp@m.@ruby.nosp@m.-lan.nosp@m.g.org

Copyright
  This file is a part of the programming language Ruby. Permission is hereby granted, to either redistribute and/or modify this file, provided that the conditions mentioned in the file COPYING are met. Consult the file for details.

Definition in file dir.h.

## Function Documentation

## ◆ rb_dir_getwd_ospath()

VALUE rb_dir_getwd_ospath | ( | void |  | ) |

Definition at line 1092 of file dir.c.

References DATA_PTR, Data_Wrap_Struct, NULL, Qnil, rb_str_new2, RUBY_DEFAULT_FREE, ruby_getcwd(), strlen(), and xfree.

Referenced by rb_dir_getwd(), rb_execarg_run_options(), and rb_get_expanded_load_path().