1<html><head><meta http-equiv="Content-Type" content="text/html; charset=ANSI_X3.4-1968"><title>ccwgroup_set_offline</title><meta name="generator" content="DocBook XSL Stylesheets V1.78.1"><link rel="home" href="index.html" title="Writing s390 channel device drivers"><link rel="up" href="ccwgroup.html#ccwgroupdevices" title="ccw group devices"><link rel="prev" href="API-ccwgroup-set-online.html" title="ccwgroup_set_online"><link rel="next" href="API-ccwgroup-create-dev.html" title="ccwgroup_create_dev"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center"><span class="phrase">ccwgroup_set_offline</span></th></tr><tr><td width="20%" align="left"><a accesskey="p" href="API-ccwgroup-set-online.html">Prev</a> </td><th width="60%" align="center">ccw group devices</th><td width="20%" align="right"> <a accesskey="n" href="API-ccwgroup-create-dev.html">Next</a></td></tr></table><hr></div><div class="refentry"><a name="API-ccwgroup-set-offline"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>ccwgroup_set_offline — 2 disable a ccwgroup device 3 </p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><div class="funcsynopsis"><table border="0" class="funcprototype-table" summary="Function synopsis" style="cellspacing: 0; cellpadding: 0;"><tr><td><code class="funcdef">int <b class="fsfunc">ccwgroup_set_offline </b>(</code></td><td>struct ccwgroup_device * <var class="pdparam">gdev</var><code>)</code>;</td></tr></table><div class="funcprototype-spacer"> </div></div></div><div class="refsect1"><a name="idp1124543460"></a><h2>Arguments</h2><div class="variablelist"><dl class="variablelist"><dt><span class="term"><em class="parameter"><code>gdev</code></em></span></dt><dd><p> 4 target ccwgroup device 5 </p></dd></dl></div></div><div class="refsect1"><a name="idp1124545028"></a><h2>Description</h2><p> 6 This function attempts to put the ccwgroup device into the offline state. 7</p></div><div class="refsect1"><a name="idp1124545692"></a><h2>Returns</h2><p> 8 <code class="constant">0</code> on success and a negative error value on failure. 9</p></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="API-ccwgroup-set-online.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="ccwgroup.html#ccwgroupdevices">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="API-ccwgroup-create-dev.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top"><span class="phrase">ccwgroup_set_online</span> </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> <span class="phrase">ccwgroup_create_dev</span></td></tr></table></div></body></html> 10