'2021/02/17'에 해당되는 글 3건

  1. 2021.02.17 미국 정전 반도체 타격 2
  2. 2021.02.17 strptime
  3. 2021.02.17 syslog c api(?)

삼성전자 오스틴 공장은 있는지도 몰랐는데

이재용 취업금지 나온 시점이라 약간의 노림수 느낌?

 

아무튼 한파가 몰렸다고는 하지만

솔찍히 코인 채굴영향도 꽤 크지 않을까 의심이 된다.

[링크 : https://news.v.daum.net/v/20210217191206299]

'개소리 왈왈 > 정치관련 신세한탄' 카테고리의 다른 글

15년 전 탓을 하네  (0) 2021.03.09
의사 면허 취소 반대?  (0) 2021.02.20
트럼프의 나비효과?  (0) 2021.01.10
민주당 머하는 걸까...  (4) 2021.01.02
사면?  (0) 2021.01.01
Posted by 구차니
Programming/C Win32 MFC2021. 2. 17. 18:05

x86이나 다른데서 해봐야지.. __USE_XOPEN을 안써서 정상 작동을 안한건지

그게 아니라면 c 라이브러리를 생성할때 해당 옵션을 주고 하지 않아서 정상 작동을 하지 않은건지 모르겠다.

 

#ifdef __USE_XOPEN
/* Parse S according to FORMAT and store binary time information in TP.
   The return value is a pointer to the first unparsed character in S.  */
extern char *strptime (const char *__restrict __s,
                       const char *__restrict __fmt, struct tm *__tp)
     __THROW;
#endif

[링크 : https://stackoverflow.com/questions/3053999/c-convert-time-t-to-string-with-format-yyyy-mm-dd-hhmmss]

[링크 : https://man7.org/linux/man-pages/man3/strftime.3.html]

[링크 : https://man7.org/linux/man-pages/man3/strptime.3.html]

[링크 : https://www.it-note.kr/143]

'Programming > C Win32 MFC' 카테고리의 다른 글

vs2019 sdi , mdi 프로젝트 생성하기  (0) 2021.07.08
vkey win32 / linux  (0) 2021.04.30
while(-1) 이 될까?  (0) 2019.05.24
c언어용 JSON 라이브러리 목록  (0) 2018.10.23
uuid in c  (0) 2018.10.22
Posted by 구차니
Linux API2021. 2. 17. 12:18

사용 자체는 간단하다.

그런데 dmesg로 보는 법을 모르겠네? (서로 다른건가?)

(/var/log/message에 추가는 된다. 해당 파일은 ASCII TEXT)

 

#include <syslog.h>

int main(int argc, char **argv)
{
    syslog(LOG_INFO|LOG_LOCAL0, "hello world\n");
}

[링크 : https://www.joinc.co.kr/w/Site/system_programing/Unix_Env/syslog_1]

'Linux API' 카테고리의 다른 글

kms - Kernel Mode Setting  (0) 2022.07.14
libescp  (0) 2019.01.03
cups api  (0) 2018.12.20
system wait stdout  (0) 2018.10.22
ncurse  (0) 2015.04.27
Posted by 구차니