site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com Hi , I was working on Mac symlinks(unix style) and encountered things I couldn't find information on through web searches. I was thinking these are Mac specific flags and meanings, so with that intro: when you lstat() a symlink, lstat states that st_size will be the size of the pathname for the link, what does it mean when it is a link with st_size = 0, yet it does have a link? And what is the special meaning of a return when it mixes relative paths with absolute paths? Example: a return of ../..//System . Should "../../" be ignored and jump to System directory of of root? Or is "/" before "System" suppose to mean ignore me please? Currently my code just returns "//" is an error. As I read it: from here (relative path) go to parent (..), from here (/) go to parent (..) from here (/) go to (/System). Or is "//" an abbreviated "/./" , which currently seems unsupported? Thanks for listening, and sorry if these may seem like dumb questions but the st_size one really makes coding hard, at least my current approach in my code. Steve _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... This email sent to site_archiver@lists.apple.com