realpath.3 (7e36a19d5175b1fe085903ee15900175b9418559) | realpath.3 (431c9bf2d5ca4e10a4b744e51dfe3145f5fe7b6e) |
---|---|
1.\" Copyright (c) 1994 2.\" The Regents of the University of California. All rights reserved. 3.\" 4.\" This code is derived from software contributed to Berkeley by 5.\" Jan-Simon Pendry. 6.\" 7.\" Redistribution and use in source and binary forms, with or without 8.\" modification, are permitted provided that the following conditions --- 42 unchanged lines hidden (view full) --- 51.Dq / 52characters and references to 53.Pa /./ 54and 55.Pa /../ 56in 57.Fa pathname , 58and copies the resulting absolute pathname into | 1.\" Copyright (c) 1994 2.\" The Regents of the University of California. All rights reserved. 3.\" 4.\" This code is derived from software contributed to Berkeley by 5.\" Jan-Simon Pendry. 6.\" 7.\" Redistribution and use in source and binary forms, with or without 8.\" modification, are permitted provided that the following conditions --- 42 unchanged lines hidden (view full) --- 51.Dq / 52characters and references to 53.Pa /./ 54and 55.Pa /../ 56in 57.Fa pathname , 58and copies the resulting absolute pathname into |
59the memory referenced by | 59the memory pointed to by |
60.Fa resolved_path . 61The 62.Fa resolved_path 63argument 64.Em must | 60.Fa resolved_path . 61The 62.Fa resolved_path 63argument 64.Em must |
65refer to a buffer capable of storing at least | 65point to a buffer capable of storing at least |
66.Dv PATH_MAX 67characters, or be 68.Dv NULL . 69.Pp 70The 71.Fn realpath 72function will resolve both absolute and relative paths 73and return the absolute pathname corresponding to --- 62 unchanged lines hidden --- | 66.Dv PATH_MAX 67characters, or be 68.Dv NULL . 69.Pp 70The 71.Fn realpath 72function will resolve both absolute and relative paths 73and return the absolute pathname corresponding to --- 62 unchanged lines hidden --- |