This repository has been archived on 2024-12-16. You can view files and clone it, but cannot push or open issues or pull requests.
CodeBlocksPortable/WATCOM/samples/clibexam/utime.c

10 lines
206 B
C
Raw Permalink Normal View History

#include <stdio.h>
#include <sys/utime.h>
void main( int argc, char *argv[] )
{
if( (utime( argv[1], NULL ) != 0) && (argc > 1) ) {
printf( "Unable to set time for %s\n", argv[1] );
}
}