I think it's the shell that does the interpretation
If I was writing a C program I would probably so something along the lines of:
strcat(  getenv("HOME"), ".somefunkyfile" ); // psudo C code

On Fri, 16 Mar 2001 15:01, Shaun Cloherty wrote:
> Hopefully a straight forward question...
>
> Many/most/all unix applications seem to allow you to specify a file name
> as ~/.somfunkyfile, in which the users home directory is substituted for
> the ~ character. Is this behavior the responsibility of the application,
> or is it handled at a lower level, perhaps by the standard library?

Regards
John

-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug

Reply via email to