Friday, 7 August 2020

How to use fopen_s from windows in ubuntu?

 #include <stdio.h>

#ifdef __unix
#define fopen_s(pFile,filename,mode) ((*(pFile))=fopen((filename),(mode)))==NULL
#endif

No comments:

Post a Comment