devname.3 (529ac58781315d051c9cd091fb023da1ad40eb01) | devname.3 (a1de21c12e1cbebace89c9150bf41857ad1f48b0) |
---|---|
1.\" Copyright (c) 1993 2.\" The Regents of the University of California. All rights reserved. 3.\" 4.\" Redistribution and use in source and binary forms, with or without 5.\" modification, are permitted provided that the following conditions 6.\" are met: 7.\" 1. Redistributions of source code must retain the above copyright 8.\" notice, this list of conditions and the following disclaimer. --- 65 unchanged lines hidden (view full) --- 74in a human-readable format. 75.Pp 76.Fn devname 77returns the name stored in a static buffer which will be overwritten 78on subsequent calls. 79.Fn devname_r 80takes a buffer and length as argument to avoid this problem. 81.Sh SEE ALSO | 1.\" Copyright (c) 1993 2.\" The Regents of the University of California. All rights reserved. 3.\" 4.\" Redistribution and use in source and binary forms, with or without 5.\" modification, are permitted provided that the following conditions 6.\" are met: 7.\" 1. Redistributions of source code must retain the above copyright 8.\" notice, this list of conditions and the following disclaimer. --- 65 unchanged lines hidden (view full) --- 74in a human-readable format. 75.Pp 76.Fn devname 77returns the name stored in a static buffer which will be overwritten 78on subsequent calls. 79.Fn devname_r 80takes a buffer and length as argument to avoid this problem. 81.Sh SEE ALSO |
82.Xr stat 2 , | 82.Xr stat 2 |
83.Sh HISTORY 84The 85.Fn devname 86function appeared in 87.Bx 4.4 . | 83.Sh HISTORY 84The 85.Fn devname 86function appeared in 87.Bx 4.4 . |