/* This Source Code Form is subject to the terms of the Mozilla Public *License,v.2.0.IfacopyoftheMPLwasnotdistributedwiththis
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
/*********************************************************************** **Includes
***********************************************************************/ /* Used to get the command line option */ #include"prinit.h" #include"prmem.h" #include"prio.h" #include"prerror.h" #include <stdio.h>
static PRFileDesc* t1;
int main(int argc, char** argv) {
t1 = PR_Open(argv[0], PR_RDONLY, 0666);
if (t1 == NULL) {
printf("error code is %d \n", PR_GetError());
printf("File %s should be found\n", argv[0]); return1;
} else { if (PR_Close(t1) == PR_SUCCESS) {
printf("Test passed \n"); return0;
} else {
printf("cannot close file\n");
printf("error code is %d\n", PR_GetError()); return1;
}
}
}
Messung V0.5 in Prozent
¤ Dauer der Verarbeitung: 0.13 Sekunden
(vorverarbeitet am 2026-08-24)
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.