[#BloombergLP-bdls-operator_lshift-06]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdls.adoc[bdls]::operator&lt;&lt;
:relfileprefix: ../../
:mrdocs:

Write the specified permission bit mask `value` to the specified `stream`&period;

== Synopsis

Declared in `&lt;bdls&lowbar;filepermissions&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
std::ostream&
operator&lt;&lt;(
    std::ostream& stream,
    xref:BloombergLP/bdls/FilePermissions/Enum.adoc[FilePermissions::Enum] value);
----

== Description

Write the octal numeric representation of the specified permission bit mask `value` to the specified output `stream` in a single&hyphen;line format, and return a reference to `stream`&period; The `value` is written in octal notation _without_ the customary leading `0` prefix (for example, the mask `0640` is written as `640`)&period; Note that this method has the same behavior as &grave; bdls&colon;&colon;FilePermissions&colon;&colon;print(stream, value, 0, &hyphen;1)&semi; &grave;

== Return Value

a reference to `stream`

== Parameters

[cols="1,4"]
|===
| Name| Description
| *stream*
| output stream
| *value*
| permission bit mask to write
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
