タグ

Programmerに関するtk60qtのブックマーク (2)

  • Man page of STAT

    Section: Linux Programmer's Manual (2) Updated: 2014-08-19 Index JM Home Page roff page 名前 stat, fstat, lstat, fstatat - ファイルの状態を取得する 書式 #include <sys/types.h> #include <sys/stat.h> #include <unistd.h> int stat(const char *pathname, struct stat *buf); int fstat(int fd, struct stat *buf); int lstat(const char *pathname, struct stat *buf); #include <fcntl.h> /* AT_* 定数の定義 */ #include <sys/stat.h> in

    tk60qt
    tk60qt 2014/09/17
    int stat(const char *pathname, struct stat *buf);
  • 簡潔なQ

    概要: Rust2018以降、Rustのモジュールシステムは入門しやすく、かつマスターしにくくなりました。そこで記事では、その両方を達成することを目指しました。 モジュール入門 名前解決の役割と用語 モジュールグラフの構造 インポート解決 可視性 パス解決 名前解決とマクロ 記事は2017年に書いた記事 (https://qnighy.hatenablog.com/entry/2017/03/27/070000, https://qnighy.hatenablog.com/entry/2017/04/24/070000 ) と同じテーマで、Rust2018を考慮して改めてまとめ直したものです。 注意: 記事中のサンプルコードの多くは、Rustの細かい仕様や実装を調べるためのものであり、実際に有用なプログラミングパターンであるとは限りません。また、実質的にバグに近い挙動を説明しているも

    簡潔なQ
  • 1