title: In the C standard library, is there a similar function to `fcntl()`?
body: <p>In Linux API, <code>fcntl()</code> can be very useful to get or set file descriptor flags, file status flags, and other properties.</p>
  
  <p>In the C standard library, is there a similar function to <code>fcntl()</code> which can get or set the properties of a <code>FILE</code> object, and its underlying file descriptor flags, file status flags, and other properties?</p>