トップ «前の日記(2011-08-23) 最新 次の日記(2011-08-25)» 編集

ヨタの日々

2001|08|09|10|11|12|
2002|01|02|03|04|05|06|07|08|09|10|11|12|
2003|01|02|03|04|05|06|07|08|09|10|11|12|
2004|01|02|03|04|05|06|07|08|09|10|11|12|
2005|01|02|03|04|05|06|07|08|09|10|11|12|
2006|01|02|03|04|05|06|07|08|09|10|11|12|
2007|01|02|03|04|05|06|07|08|09|10|11|12|
2008|01|02|03|04|05|06|07|08|09|10|11|12|
2009|01|02|03|04|05|06|07|08|09|10|11|12|
2010|01|02|03|04|05|06|07|08|09|10|11|12|
2011|01|02|03|04|05|06|07|08|09|10|11|12|
2012|01|02|03|04|05|06|07|08|09|10|11|12|
2013|01|02|03|04|05|06|07|08|09|10|11|12|
2014|01|02|03|04|05|06|07|08|09|10|11|12|
2015|01|02|03|04|05|06|07|08|09|10|11|12|
2016|01|02|03|04|05|06|07|08|09|10|11|12|
2017|01|02|03|04|05|06|07|08|09|10|11|12|
2018|01|02|03|04|05|06|07|08|09|10|11|12|
2019|01|02|03|04|05|06|07|08|09|10|11|12|
2020|01|02|03|04|05|06|07|08|09|10|11|12|
2021|01|02|03|04|05|06|07|08|09|10|11|12|
2022|01|02|03|04|05|06|07|08|09|10|11|12|
2023|01|02|03|04|05|06|07|08|12|
2024|01|02|03|04|

2011-08-24 :-)

_ 午前

0930 起床

_ 午後

1230 買い物

1330 セキュリティほげ@南武線→東海道線

_

1900 Cリハビリ

1930 飯

2100 zabbix 入れようとしたけど configure で挫けた。もう手で入れるだけの気力が無い

_ あのアニメ風ロゴを、自分でつくろう!【ジェネレーター集】 - NAVER まとめ

作ってみた。「けあんず」って


創聖のアクエリオン

aku.jpg


Angel Beats!

AngelBeat.png


BLEACH

BLEACH.png


エルシャダイ

el.jpg


涼宮ハルヒの憂鬱

haruhi.png


変ゼミ

henzemi.png


ひぐらしのなく頃に

higurasi.png


ラブプラス

love.png


魔法少女まどか☆マギカ

madoka.png


NARUTO

naruto.png


日常

nitijou.png


らき☆すた

rakisuta.png


とあるナントカ

toaru.png


とらドラ!

toradora.png

_ [NetBSD][stream]we don't have steram

環境

% uname -a
NetBSD mogu.area51.gr.jp 5.1 NetBSD 5.1 (GENERIC) #0: Sun Nov  7 14:39:56 UTC 2010  builds@b6.netbsd.org:/home/builds/ab/netbsd-5-1-RELEASE/i386/201011061943Z-obj/home/builds/ab/netbsd-5-1-RELEASE/src/sys/arch/i386/compile/GENERIC i386

詳細

via 詳解 UNIX プログラミング pp. 375-376

#include <stropts.h>
#include <unistd.h>

#include <sys/types.h>
#include <sys/fcntl.h>
#include "ourhdr.h"


int isastream( int fd )
{
  return( ioctl( fd, I_CANPUT, 0 ) != -1 );
}


int main( int argc, char* argv[] )
{
  int i;
  int fd;
  for( i = 1; i < argc; i++ )
  {
    printf( "%s: ", argv[ i ] );
    if( ( fd = open( argv[ i ], O_RDONLY ) ) < 0 )
    {
      err_ret( "%s: can't open", argv[ i ] );
      continue;
    }

    if( isastream( fd ) == 0 )
      err_ret( "%s: not a stream", argv[ i ] );
    else
      err_ret( "%s: stream", argv[ i ] );
  }

  exit( 0 );

}
12/isastream0.c:1:21: error: stropts.h: No such file or directory
12/isastream0.c: In function 'isastream':
12/isastream0.c:11: error: 'I_CANPUT' undeclared (first use in this function)
12/isastream0.c:11: error: (Each undeclared identifier is reported only once
12/isastream0.c:11: error: for each function it appears in.)

ggrks

netbsd-users: Re: stropts.h

Comment it out. We don't have streams.

(´・ω・`)

% man putmsg
man: no entry for putmsg in the manual.

(´・ω・`)

本日のツッコミ(全2件) [ツッコミを入れる]
_ けやき (2011-08-25 13:46)

いいね!

_ みわ (2011-08-26 00:16)

いつも遊んでばかりでスンマセン (>'A`)>