Miscellany
public c v1 · immutable#define GNU_SOURCE#include <stdlib.h>#include <stdio.h>#include <unistd.h>// by dexen deVries/* */#define d *pint main( int c, char *d ) { for ( ++p; d; ++p ) { if ( (d = realpath( d, !c )) == !c ) { perror( "realpath()" ); return c; } printf( "%s%c", d, '\n'*(c!=2) ); free( d ); } return d;}