]> pd.if.org Git - pdclib/blobdiff - functions/stdio/fwrite.c
Cleaning up TODOs.
[pdclib] / functions / stdio / fwrite.c
index 8b40551d6598d2ee780f07535d814f798b2c64be..0ea1b02e75fcef534a2ecc132984c2f1ed3a5f7e 100644 (file)
@@ -87,11 +87,7 @@ size_t fwrite( const void * _PDCLIB_restrict ptr, size_t size, size_t nmemb, str
 
 int main( void )
 {
-    FILE * fh;
-    TESTCASE( ( fh = tmpfile() ) != NULL );
-    TESTCASE( fwrite( "SUCCESS testing fwrite()\n", 1, 25, fh ) == 25 );
-    /* TODO: Add readback test. */
-    TESTCASE( fclose( fh ) == 0 );
+    /* Testing covered by fread(). */
     return TEST_RESULTS;
 }