core: Add chmod.
* src/posix.c (chmod_): New function.
This commit is contained in:
parent
e3b929aa87
commit
2cc6f166db
|
@ -200,6 +200,13 @@ force_output (SCM p) ///((arity . n))
|
||||||
return cell_unspecified;
|
return cell_unspecified;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
SCM
|
||||||
|
chmod_ (SCM file_name, SCM mode) ///((name . "chmod"))
|
||||||
|
{
|
||||||
|
return chmod (string_to_cstring (file_name), VALUE (mode));
|
||||||
|
return cell_unspecified;
|
||||||
|
}
|
||||||
|
|
||||||
SCM
|
SCM
|
||||||
isatty_p (SCM port)
|
isatty_p (SCM port)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue