LoginSignup
2
4

More than 3 years have passed since last update.

errnoからお手軽にエラーメッセージを知りたい

Last updated at Posted at 2019-05-27

それPerlで出来るよ:

% perl -E 'say$!=24' # errno=24 の場合
Too many open files

覚えたくない人向けのalias:

% alias errno='perl -E "say\$!=\$ARGV[0]"'
% errno 24
Too many open files

便利

解説

別途記事を書きました: https://techblog.karupas.org/entry/2019/05/28/085710
興味のある人はどうぞ

2
4
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
4